Responsive Web Design Projects - Build a Product Landing Page Nav Link

The nav links navigate to the corresponding sections of the site here
https://codepen.io/edemo/pen/qBoMXPL but the code will not pass the tests.
Also, how do you see the error message details in the editor on freecodecamp? I just get a blue X with no further details.

  **Your code so far**
/* file: index.html */
<html>
<head>
  <link rel="stylesheet" href="styles.css">
  </head>
  <body>
    <div id ="desc">
      <header id="header">
         <nav id="nav-bar">
        <ul>
            <li><a href="features" class"nav-link">Features</a></li>
       <li><a href="how-it-works" class="nav-link">How
         It Works</a></li>
      <li><a href="pricing" class="nav-link">Pricing</a></li>

          </ul>
          <img id="header-img" src="https://lh3.googleusercontent.com/SfasSXN1rJDgTK6Za1xcXjReglp45nXA6qT9FR3Li0iaQ23SXYrf3wAbHVOvlsNQm7LWNp10LULHX5CdZkApe3dL6LbS9m4gkuOd1sWD0QtuIegC2j5lsLnvkd0t6UIOaSvHKHg8EQ=w2400"
          alt="original fitness logo">
         

        </nav>
      </header>
      </div>
      

        <form id="form" 
        action="https://www.freecodecamp.com/email-submit">
          <input name="email" id="email" type="email"
          placeholder="Enter your email address" required>
          <input id="submit" type="submit" value="Get Started"
          class="btn">
        </form>

        <!-- Features -->
      <section id="features">

      <div class="desc">
        <h3>Quality food, not to much</h3>
        <p>Mostly plants, no processed junk. Dont know what Im
           talking about you need my program. </p>
      </div>
    </div>

        <div class="desc">
          <h3> A Lifetime of Results </h3>
          <p>Not just for weeks, months, a lifetime. Give 
            yourself the gift of self discipline to turn 
            the dream of health into a reality. </p> 
        </div>
        </section>

        <div class="container">
           <!-- Pricing -->
        <section id="pricing">
          <div id="box-container">
          <div id = "box-1">
          <div class="product" id="beginner">
            </div>
            <p>Beginner</p>
          <h4>$500<h4>
            </div>
            
          </section> 
            <!-- Video -->
          <section id="how-it-works">
          <iframe id="video" height="315" width="500"
          src= "https://www.youtube.com/embed/qUfWOT3ZujY" 
                  title="YouTube video" 
                  frameborder="0"
                  </iframe>
                  </section>
            
         
            
          
            
</div>
</div>
</body>
</html>
        

       



        
      




        
      

/* file: styles.css */
element.style{

}
.logo > img {
width: 50%;
height: 10%;
max-width: 300px;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
margin-left: 20px;
}

header {
position:sticky;
display:flex;
justify-content: space-between;
padding-top: 30px 10%;
max-width: 100%;  
}
#header-img {
height: 115px;
margin-top: -18px;
max-width: 100%;
float: right;
display: inline-block;
cursor: pointer;

}

#box-1 {
background-color: 
flex-direction:column;
justify-content:space-between;
align-items:center;
margin-bottom: 55em;
}

#box-container {
flex-direction:column;
justify-content:space-between;
align-items:center;
margin-bottom: 55em;
}

#video{
width:30%;

}
  **Your browser information:**

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

Challenge: Responsive Web Design Projects - Build a Product Landing Page

Link to the challenge:

You forgot to add = to class in your first nav-link.

Well that was part of it. Nice catch. Thank you!

Still wont pass the tests though. Ill keep at it.

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