Design comparison
SolutionDesign
Solution retrospective
I had a little trouble getting a div to line up with a parent div, sometimes it missed the plan.
Community feedback
- @hyrongennikePosted about 2 years ago
Hi @allesonsales,
Nice job on the challenge
Just a few suggestions, you can make the following changes to your rule.
main { display: flex; flex-direction: column; justify-content: center; align-items: center; margin: 0 auto; max-width: 1440px; padding: 1rem; }
it's basically to stop it from getting to wide, also just increase the font size of the heading.
The other thing is to look at the report above and fix the issue. Hope this is helpful.
Marked as helpful0@allesonsalesPosted about 2 years ago@hyrongennike Thank you, I hadn't applied margin:0 auto in any of my projects yet, I'll start using it, thanks for the tip.
0
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