Tell us what’s happening:
Describe your issue in detail here.
i have copleted the task again it show your #nav-bar should be on the top of viewport
Your code so far
<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>product-landing-page</title>
<link rel="stylesheet" href="styles.css"/>
</head>
<body>
<header id="header">
<nav id="nav-bar">
<a class="nav-link" href="#header">header</a>
<a class="nav-link" href="#form">video</a>
<a class="nav-link" href="#email">email</a>
</nav>
<iframe id="video" width:100% controls src="#header"></iframe>
<form id="form" action="https://www.freecodecamp.com/email-submit">
<input name="email" id="email" type="email" placeholder="enter your email">
<input id="submit" type="submit">
</form>
<img id="header-img" src="http" />
</header>
</body>
</html>
/* file: styles.css */
@media (max-width:1100px){
.nav-link{
display:flex
}
}
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Challenge: Product Landing Page - Build a Product Landing Page
Link to the challenge: