Product Landing Page - Build a Product Landing Page

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <header id="header">
      <img id="header-img" src="https://www.google.com/url?sa=i&url=https%3A%2F%2Fpixabay.com%2Fimages%2Fsearch%2Fcat%2F&psig=AOvVaw2HdoUX1Ino2HWAEzOOMGyX&ust=1667415354467000&source=images&cd=vfe&ved=0CAwQjRxqFwoTCNihubDUjfsCFQAAAAAdAAAAABAE"
 alt="">
 <nav id="nav-bar">
      <ul>
        <li>
          <a class="nav-link" href="#featured">Featured</a>
        </li>
        <li>
          <a class="nav-link" href="#What you know">What You Know</a>
        </li>
        <li>
          <a class="nav-link" href="#gallery">Gallery</a>
        </li>
      </ul>
    </nav>
    </header>
    <form id="form" action="https://www.freecodecamp.com/email-submit">
      <input name="email" type="email" id="email" placeholder="Enter Your Email Address" required>
      <input name="submit" type="submit" id="submit">
    </form>
    <iframe id="video" type="video" src="https://www.youtube.com/watch?v=XmZrCRRxxXE&list=RDXmZrCRRxxXE&start_radio=1" width="340" allowfullscreen></iframe>
    
    <div id="featured">
      <p>Hellow world</p>
    </div>
    <div id="What you know">
      <p>Hellow world</p>
      <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
    </div>
    <div id="gallery">
      <p>Hellow world</p>
      <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
    </div>
    <footer>
      <ul>
        <li>
          <a href="#">Privacy</a>
        </li>
        <li>
          <a href="#">Contact</a>
        </li>
      </ul>
    </footer>
  </body>
</html>
/* file: styles.css */
@media (max-width: 75em)
.nav-link {
    font-size: 60%;
}

html {
    display: flex;
}

#nav-bar {
    
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Challenge: Product Landing Page - Build a Product Landing Page

Link to the challenge:

This should help How to Keep a Navbar at the Top of My Viewport?