Design comparison
SolutionDesign
Community feedback
- @HilvertonPosted almost 2 years ago
- To fix the html error I suggest replacing the
section
tag with adiv
, as it has no text content inside. - To center the main content, you could add the following code:
body { display: flex; align-items: center; justify-content: center; height: 100vh; }
and strip the y-axis margin of the
<main class="container">
element.Happy coding
0 - To fix the html error I suggest replacing the
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