Design comparison
SolutionDesign
Solution retrospective
What challenges did you encounter, and how did you overcome them?
One of the challenges i faced is how to center a div
Community feedback
- @hilmi77Posted 7 months ago
Hello @Olaniyan Kafayah!
Your Solution looks good🎉
When I review your solution
center a container you can use flex, grid etc. for example you want to use flex to center a div you can give height:100vh display: flex; justify-content: center; align-items: center; to body element..
if you find useful this comment please click "Marked as helpful"
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