Abdul Khaliq 🚀• 72,660
@0xabdulkhaliq
Posted
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 helpful
0