
Solution retrospective
in this site i actually used margin-top :10% in container div but i know that its not a correct way to deal .suggest me a alternative way to do it
Please log in to post a comment
Log in with GitHubCommunity feedback
- @eldon6219
hey Aakash-ziz you did a good job trying to do this challenge for the first time congrats on finishing it ! although i have some notes starting with the margin top you are asking about ! the main reason the container didn't set in the middle is because you are seeting the body"s <height> to 100% instead change it to "100dvh" that will get the container centered in the page and you are missing the active state for the button so u can go back and finish it anytime hope u find this helpful
Marked as helpful
Join 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