Travolgi 🍕• 31,420
@denielden
Posted
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