I've searched extensively for a solution to this problem with no luck. I'm having trouble moving my main code under the Navigation Bar. Maybe my code is too unconventional, but I can't seem to figure it out. Can anyone assist me? Thank you in advance!
Here is my code:
<div id="navBarWrapper">
<nav class="navBar">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="HTML/aboutme.html">About Me</a></li>
<li><a href="HTML/codeblog.html">Code Blog</a></li>
<li><a href="HTML/contact.html">Contact</a></li>
</ul>
</nav>
</div>
<content>
<div id="mainContentWrapper">
<main class="mainContent">
Hi, This page is currently incomplete!
</main>
</div>
</content>
CSS for index.html:
*,
*::before,
*::after {
padding: 0;
margin: 0;
box-sizing: border-box;
}
.pageHeader div {
width: 100vw
}
.pageHeader h1 {
font-family: 'PT Sans', sans-serif;
}