I am creating my first sample webpage for a fictional company. I am trying to use flexbox to display the three internal links in my <nav>
element evenly spaced across the banner. I verified the nav element spans across the entire page by changing background color, and so I'm left shaking my head at something I'm sure is fairly obvious to someone experienced.
nav {
display: flex;
}
.nav-element {
display: flex;
justify-content: space-around;
margin: 0 1rem;
}
<header>
<nav>
<a class="nav-element" href="#">Mission Statement</a>
<a class="nav-element" href="#">Produce</a>
<a class="nav-element" href="#">Helping Hands</a>
</nav>
<h1 class="title">portlandia farms</h1>
</header>