Design comparison
SolutionDesign
Community feedback
- @SFN98Posted 8 months ago
your solution looks good, but i have some changes that you can make for the next solution. first of all try to use semantic HTML the more possible, so you can use <main></main> for your container.
Then to center correctly an element on the page you can use this css code on the body:
body{ min-height:100vh; display:flex; justify-content:center; align-items:center; }
Marked as helpful1@jimmylee2021Posted 8 months ago@SFN98 I just updated my codes thanks for the correction 🤝
1
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