Hello! I am studying the Front End Engineering Path and I’m currently on the Tea Cozy Project. I have gone back to the previous lessons , searched on MDN and googled to try to figure out what i’m doing wrong. I can’t seem to get the navigation positioned properly. I wanted to try and figure it out on my own , but now its been taking too long and I just need to ask for help. Can anyone point me in the right direction?
Thank you,
Julie
My Html below:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tea Cozy</title>
<link rel="stylesheet" href="style.css">
</head>
<!--Header and Navigation-->
<body>
<header>
<div class="logo">
<img src="/Users/juliannekropp/Desktop/Coding Projects-Codecademy/Tea Cozy Project/Tea Cozy Resources/img-tea-cozy-logo.webp" alt="Tea Cozy Label">
</div>
<div class="links">
<nav>
<a href="#mission">Mission</a>
<a href="#featured tea">Featured Tea</a>
<a href="#locations">Locations</a>
</nav>
</div>
</header>
</body>
</html>
My CSS Below:
html body {
font-family: Helvetica;
font-size: 22px;
opacity: 0.9;
background-color: black;
}
header {
background-color: black;
border-bottom: 1px solid seashell;
margin: 69px auto;
display: flex;
position: fixed;
}
.logo {
display: flex;
min-height: 50px;
}
nav {
display: flex;
margin: auto;
}
nav a {
display: inline-flex;
color: seashell;
text-decoration: underline;
align-content: flex-end;
}