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 🎨:
- Use
min-height: 100vh
instead ofheight
.
- Setting the
height
to100vh
may result in the component being cut off on smaller screens, such as a mobile phone in landscape orientation
min-height
says that the minimum height is some value but that the element can continue to grow past that defined height if needed (like the content inside makes it taller or whatever).
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
Happy coding!
Marked as helpful
1
Aldrin Fernandez• 190
@aljager1983
Posted
@0xAbdulKhalid thanks for the review,,, im still a bit confuse on which to use, but your comment and review gave me a clearer picture, thanks again, going to apply as per your comment
0