Design comparison
SolutionDesign
Solution retrospective
my first site on Frontend-Mentor, it was very easy, the most difficult thing for me was trying to fix the footer at the bottom of the page using flexbox, but I couldn't because it wasn't set as a flex-item, so I used transform and it worked
Community feedback
- @MelvinAguilarPosted almost 2 years ago
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
HTML ๐ท๏ธ:
- Wrap the page's whole main content in the
<main>
tag.
CSS ๐จ:
- Use more descriptive class names to improve readability of front-end code. You can learn BEM naming convention to improve your class names.
- Instead of using pixels in font-size, use relative units like
em
orrem
. The font-size in absolute units like pixels does not scale with the user's browser settings. Resource ๐.
- In the
html
element it is not necessary to add any style to center elements, use directly in thebody
element.
I hope you find it useful! ๐
Happy coding!
0 - Wrap the page's whole main content in the
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