Design comparison
Solution retrospective
This was pretty easy to do even if i'm still not sure about some spacing. I tried to make it a bit more responsive. Hope I did it well.
Community feedback
- @correlucasPosted about 2 years ago
πΎHello Tyler, congratulations for your new solution!
Answering your question about spacing:
The best way to manage the spacing in this kind of challenge is by using or
gap
to make the uniform spacing or give each element a vertical padding separating the content usingpadding-bottom
this way you've really more control using only these two kind of spacing. Note that if you use many paddings like padding top with padding bottom the solution gets really tricky to control, so choose gap for uniform spacing and padding bottom to separate elements with different paddings.π I hope this helps you and 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