Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Iam progressing well.
What challenges did you encounter, and how did you overcome them?The challenge has been a smooth one for me with only one challenge. Placing a div below another div. My attribution div could not come below the div with the other content.
What specific areas of your project would you like help with?I would appreciate any help with centering a div.
Community feedback
- @hilmi77Posted 8 months ago
Hello @Desmond Maina!
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 min-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 helpful1
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