Design comparison
SolutionDesign
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
CSS 🎨:
height: 800px
forbody
is considered as a static value which will eventually prone to errors on bigger screens more thanheight
of800px
- So, we want to use
min-height: 100vh
instead ofheight
. Setting theheight
to800px
may result in the component being cut off on smaller screens, such as a mobile phone in landscape orientation.
- So change,
body { height: 800px; }
- Instead try this
body { min-height: 100vh; }
I hope you find it helpful ! 😄 Above all, the solution you submitted is great
Happy coding!
Marked as helpful0
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