Account Deleted
Hello Coder 😊
Your solution is great✨ and congratulations for successfully completing an another newbie challenge🎉
and there is a small suggestion that might be helpful for you
min-height :
You can use min-height instead of height
because height will put your element to a size of 100% of it's container. min-height will put the element to min 100% of the container size.
if we set min-height: 100vh
then the main will start at 100vh, if the content pushes the main beyond 100vh it will continue growing. However if you have content that takes less than 100vh it will still take 100vh in space
and it will helpful when you make responsive solutions
Hope that was helpful 😊
Marked as helpful
@jarleisassi
Posted
@MrSandipSharma Putting in practice from now on :D Thank you very much