<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<div id="page-wrapper">
<header id="header">
Hoppity Edits
<div class="logo">
<img
header {
font-family: "Comic Sans MS", cursive, sans-serif;
font-size: 50px;
position: absolute;
left: 600px;
display: flex;
justify-content: space around;
margin-top: 40px;
}
.logo > img {
width: 80px;
margin-top: 5px;
position: relative;
right: 405px;
}
header > nav {
font-size: 20px;
margin-top: -30px;
width: 50%;
display: flex;
flex-direction: column;
}
ul {
width: 25vw;
display: flex;
flex-direction: row;
justify-content: space-around;
}
li {
list-style: none;
}
a {
color: black;
text-decoration: none;
}
#email-insert {
font-family: "Lucida Console", Courier, monospace;
font-size: 8px;
justify-content: center;
text-align: center;
}
#page-wrapper {
position: relative;
}
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<div id="page-wrapper">
<header id="header">
Hoppity Edits
<div class="logo">
<img
id="header-img"
src="https://i.pinimg.com/originals/ac/1a/cf/ac1acffaa7f87b31c94cfab729167efb.jpg"
alt="hoppity-logo"/>
</div>
<nav id="nav-bar">
<ul>
<li><a class="nav-link" href=#photo-shop>
Photo Shop</a>
<li><a class="nav-link" href=#scrapbookex>
Scrapbooks</a>
<li><a class="nav-link" href=#pricing>
Pricing</a>
</nav>
</header>
<section id="email-insert">
<h2> A family company founded on family principles
</h2>
<form id="form">
<input id="email"
placeholder= "Enter email to get started"
required>
</input>
</form>
</section>
</div>
id="header-img"
src="https://i.pinimg.com/originals/ac/1a/cf/ac1acffaa7f87b31c94cfab729167efb.jpg"
alt="hoppity-logo"/>
</div>
<nav id="nav-bar">
<ul>
<li><a class="nav-link" href=#photo-shop>
Photo Shop</a>
<li><a class="nav-link" href=#scrapbookex>
Scrapbooks</a>
<li><a class="nav-link" href=#pricing>
Pricing</a>
</nav>
</header>
<section id="email-insert">
<h2> A family company founded on family principles
</h2>
<form id="form">
<input id="email"
placeholder= "Enter email to get started"
required>
</input>
</form>
</section>
</div>
//CSS
header {
font-family: "Comic Sans MS", cursive, sans-serif;
font-size: 50px;
position: absolute;
left: 600px;
display: flex;
justify-content: space around;
margin-top: 40px;
}
.logo > img {
width: 80px;
margin-top: 5px;
position: relative;
right: 405px;
}
header > nav {
font-size: 20px;
margin-top: -30px;
width: 50%;
display: flex;
flex-direction: column;
}
ul {
width: 25vw;
display: flex;
flex-direction: row;
justify-content: space-around;
}
li {
list-style: none;
}
a {
color: black;
text-decoration: none;
}
#email-insert {
font-family: "Lucida Console", Courier, monospace;
font-size: 8px;
justify-content: center;
text-align: center;
}
#page-wrapper {
position: relative;
}