Design comparison
SolutionDesign
Community feedback
- @developer-rubenPosted 3 days ago
Hi!
Welcome to Front-end Mentor and thank you for your submission of this challenge. Here are my tips:
- Use classes to style your css, they provide flexibility, reusability, and maintainability for styling web elements
- Don't forget to use the proper font family. You can import the font via Google Fonts in your CSS file or in the HEAD section of the HTML file
- Better not use px as a unit in CSS, as this overrides the setting of the user in the browser. Better to use relative units like EM or REM.
- Create custom properties (or variables) in your CSS, this improves the reusability and maintainability of your code because you don't need to retype or remember the code of colors. Also if you want to change a color, you only have to that via the custom property.
Best and hopefully these tips help you to write even better code!
Ruben
0
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