Design comparison
SolutionDesign
Community feedback
- @SFN98Posted 8 months ago
Hello @ooKademoo 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>
then using margin to center an element is not the right practice. 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; }
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