Design comparison
SolutionDesign
Solution retrospective
Had a whale of a time messing with Grid for this one and utilising inbuilt HTML like headers and lists. Wondering if anyone has any better ideas for not bloating out the code to display things using Flex - I didn't use padding as it messed with the widths too much and wasn't sure how to circumvent it.
Community feedback
- @0xabdulkhaliqPosted over 1 year ago
Hello there 👋. Congratulations on successfully completing the challenge! 🎉
- I have other recommendations regarding your code that I believe will be of great interest to you.
CSS 🎨:
- Looks like the component has not been centered correctly. So let me share a css snippet, which helps you to easily center the component
body { display: grid; }
- Yeah that's all, I'm not kidding this single rule will makes magic. Now your component has been properly centered
.
I hope you find this helpful 😄 Above all, the solution you submitted is great !
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