
Design comparison
Community feedback
- @santiagocamposenrPosted 4 months ago
HTML Semantic tags:
Instead of a <div class=“container”>, consider using the <section> tag or removing the additional container if it is not necessary, since the <main> already functions as the main container.
CSS Using CSS variables for colors:
It is a good practice to use variables for colors, which makes them easier to reuse and maintain.
:root { --background-color: #D5E1EF; --card-color: #ffffffff; --text-color-primary: #1F314F; --text-color-secondary: #68778D; --link-color: hsl(228, 45%, 44%); }
Marked as helpful1
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