Product Landing Page - Build a Product Landing Page

i can’t figure out how to fulfill the nav-link href attribute requirement -cause all of my .nav-links have href attributes, and all the nav links work when i preview the landing page.

Your code so far

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

<body>
   <header id='header'>
     <img id='header-img'src='https://www.google.com/imgres?imgurl=https%3A%2F%2Fcosmo.vtexassets.com%2Farquivos%2Fids%2F1432113%2FBSTBJUP1242L.jpg%3Fv%3D638210284172230000&tbnid=PuN8mBf3OkZuyM&vet=12ahUKEwjOpsTK_vD_AhV6GTQIHfWUB4YQMygXegUIARChAg..i&imgrefurl=https%3A%2F%2Fwww.cosmomusic.ca%2F1242l-xo-professional-series-bass-trombone%2Fp&docid=O0_v1woSPQHiiM&w=613&h=317&itg=1&q=trombone&ved=2ahUKEwjOpsTK_vD_AhV6GTQIHfWUB4YQMygXegUIARChAg'>
     <nav id='nav-bar'>
       <ul>
         <li class='nav-link'><a href="#howitworks">Info</a></li>
         <li class='nav-link'><a href="#video">Video</a></li>
         <li class='nav-link'><a href="#prices">Prices</a></li>
         <li class='nav-link'><a href="#footer">Footer</a><li>
       </ul>
     </nav>
   </header>
   <main>
     <form action='https://www.freecodecamp.com/email-submit'method="POST"id='form'>
       <label>Email:</label>
       <input name="email"id='email'type='email'placeholder=" Eg. dante24@gmail.com"
     </form>
     <input id='submit'value="Send"type='submit' 

     <section id="Info">
       <h1>Premium Materials</h1>
       <p>Our trombones use the shiniest brass which is sourced locally. This will increase the longevity of your purchase.</p>
     </section>

     <section id="howitworks">
       <h2>Fast Shipping</h2>
       <p>We make sure you recieve your trombone as soon as we have finished making it. We also provide free returns if you are not satisfied.</p>
     </section>

     <section >
       <h3>Quality Assurance</h3>
       <p>For every purchase you make, we will ensure there are no damages or faults and we will check and test the pitch of your instrument.</p>
     </section>
     
     <section >
       <video id="video"width="320" height="240" controls>
         <source src="https://youtu.be/y8Yv4pnO7qc">
       </video>
     </section>
     <section id="prices">
      <div class='crumbs'>
       <div>
      <fieldset>
        TENOR TROMBONE
      </fieldset>
      <p class='cash'>$600</p>
         <p>Lorem ipsum.</p>
         <p>Lorem ipsum.</p>
         <p>Lorem ipsum dolor.</p>
         <p>Lorem ipsum.</p>
       </div>
     
       <div>
         <fieldset>
        BASS TROMBONE
         </fieldset>
         <p class='cash'>$900</p>
         <p>Lorem ipsum.</p>
         <p>Lorem ipsum.</p>
         <p>Lorem ipsum dolor.</p>
         <p>Lorem ipsum.</p>

       </div>
       <div>
         <fieldset>
        VALVE TROMBONE
        </fieldset>
        <p class='cash'>$1200</p>
         <p>Lorem ipsum.</p>
         <p>Lorem ipsum.</p>
         <p>Lorem ipsum dolor.</p>
         <p>Lorem ipsum.</p>
       </div>
      </div>
     </section>
     
   </main>
   <footer id="footer">
       
       <ul>
         <li>Privacy</li>
         <li>Terms</li>
         <li>Contract</li>
         <li>Copyright 2016, Original Trombones</li>
       </ul>
   </footer>
 </body>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36

Challenge: Product Landing Page - Build a Product Landing Page

Link to the challenge:

You have issues with your HTML code. Check it out:

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