Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
The challenge has helped me understand css Grid better.
What challenges did you encounter, and how did you overcome them?none
What specific areas of your project would you like help with?any feedback
Community feedback
- @AutumnsCodePosted 4 months ago
Hi, well done for completing this challenge. I am not an expert on React so I will ignore it, for now. To center your content in the middle, you could add this to your code
body { min-height:100vh; display:flex; align-items: center; justify-content: center; }
Also I would recommand adding max-width to your main together with margin-inline since it prevent the content to contact the edge.
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