Design comparison
SolutionDesign
Community feedback
- @denieldenPosted about 2 years ago
Hi Filip, congratulations on completing the challenge, great job! 😁
Some little tips for optimizing your code:
- the best and correct use of the
header
tag is to wrap the navbar not a inside section of that one element... same for thefooter
tag but wrapping the last section of the page - use
main
tag to wrap all main content of the page and improve the Accessibility - you can use
picture
tag to change image by resolution -> read here - use
min-height: 100vh
to body instead ofheight
, otherwise the content is cut off when the browser height is less than the content - instead of using
px
use relative units of measurement likerem
-> read here
Hope this help! Happy coding 😉
1 - the best and correct use of 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