Product Landing Page - Build a Product Landing Page

Tell us what’s happening:
Please let me know if there is bug it is not passing iam on last steps.

Your code so far

<!-- file: index.html -->
<!DOCTYPE html>


<html lang="en">

  <head>
    <meta charset="UTF"/>
    <meta name="viewport" content="width=device-device initial-scale 1.0"/>

    <body>
      <header id="header">

<img id="header-img" src="https://www.dodge.com/content/dam/fca-brands/na/dodge/en_us/2023/charger/vlp/desktop/MY23Charger_VLP_Desktop_Redeye1.jpg" width="100">

<nav id="nav-bar">
  <ul>

    <li>

      <a class="nav-link" href="#section-1">Section 1</a>

    </li>

     <li>

      <a class="nav-link" href="#section-2">Section 2</a>
    </li>

     <li>

      <a class="nav-link" href="#section-3">Section 3</a>

    </li>

  </ul>

</nav>

</header>

<div id="section-1"></div>
<div id="section-2"></div>
<div id="section-3"></div>

<iframe id="video" width="560" height="315"video src="https://www.youtube.com/embed/20znZXGTY6A?si=faMxHqDzilpgy7xS" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
<form id="form" action="https://www.freecodecamp.com/email-submit">

<input id="email" placeholder="email" type="email" name="email"></input>

<input type="submit" id="submit"></input>
</form>



      </body>

    </head>

  </html>




/* file: styles.css */
#nav-bar {
  position: fixed;
  top: 0;
}
ul{
  margin: 75px;

}
li
{
  display: inline-block;
}

Your browser information:

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

Challenge: Product Landing Page - Build a Product Landing Page

Link to the challenge:

Yes, there is a bug in your code somewhere. Can you talk to us about what the error message is and what you’ve tried to investigate/fix it?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.