Tell us what’s happening:
My code does not seem to be working is there something wrong with the tests?
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html>
<head>
<link rel='stylesheet' href='styles.css'>
</head>
<body>
<header id="header"><img src="https://images.pexels.com/photos/1308660/pexels-photo-1308660.jpeg?cs=srgb&dl=flying-drone-1308660.jpg&fm=jpg" alt="image of drone" id="header-img"><nav id="nav-bar">
<ul>
<div class='box'>
<li><a href="#intro" class="nav-link">Introduction</a></li>
<li><a href="#description" class="nav-link">Description</a></li>
<li><a href="#pricing" class="nav-link">Pricing</a></li>
</ul>
</div>
</header>
<h1 id="intro"></h1>
<h1 id="description"></h1>
<h1 id="pricing"></h1>
<iframe id='video' src='https://www.youtube.com/watch?v=sLfEyQcbVD0'>
<form id='form' action='https://www.freecodecamp.com/email-submit'>
<input id='email' placeholder='email' type='email' name='email'>
<input id='submit' type='submit'>
</form>
</body>
</html>
/* file: styles.css */
@media screen and (max-width: 600px) {
#video {
width: 100%;
height: 200px;
}
}
.box {
display:flex;
justify-content:space-evenly
}
#nav-bar {
position: fixed;
top: 0;
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0
Challenge Information:
Product Landing Page - Build a Product Landing Page