Design comparison
Community feedback
- @NacsimentoPosted 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.
Instead of giving margin to the div container you can easily center the div with flexbox:
body{ display:flex; align-items:center justify-content:center height:100vh; }
Also you can replace <div class="container"> with the main tag to make the content/ page accessible.
If you have any questions or need further clarification, you can always check out my submission for this challenge and feel free to reach out to me. .
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