Hoddle page using flex-box

Solution retrospective
Hi, this is my first project on frontmentor.
I had some problems occupying the entire body. If someone has a suggestion to resolve this I'd appreciate it.
Merry christmas.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @batyr-qhan
Hello. I think it requires a little bit of restructure. I'd place nav tag outside of main.
So the layout would look like this:
<body> <header> <!-- Site header content goes here --> <nav> <!-- Navigation links go here --> </nav> </header> <main> <!-- Main content of the page goes here --> </main> <footer> <!-- Footer content goes here --> </footer> </body>
and don't forget to set:
html, body { height: 100% }
Marked as helpful
Join 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