
Design comparison
SolutionDesign
Community feedback
- @santiagocamposenrPosted 4 months ago
Improvements and Recommendations for the Code
1. @import Optimization
Using
@import
to load fonts can slow down the CSS rendering as it blocks the loading process. Instead, include the font link directly in the<head>
section of the HTML:<link href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Outfit:wght@100..900&display=swap" rel="stylesheet">
1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord