Product Landing Page - Build a Product Landing Page

Tell us what’s happening:
Describe your issue in detail here.
Each .nav-link element should have an href attribute not working

Your code so far

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

  </head>
  <body>
<header id="header"><img src="https://images.pexels.com/photos/1308660/pexels-photo-1308660.jpeg?cs=srgb&dl=flying-drone-1308660.jpg&fm=jpg" alt="image of drone" id="header-img"><nav id="nav-bar">
  <ul>
    <li class="nav-link"><a href="#intro">Introduction</a></li>
    <li class="nav-link"><a href="#description">Description</a></li>
    <li class="nav-link"><a href="#pricing">Pricing</a></li>
    </ul>
</header>
  
    </body>
  </html>
/* file: styles.css */

Your browser information:

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

Challenge: Product Landing Page - Build a Product Landing Page

Link to the challenge:

also how do i include a video i dont know if i have learnt about it

1 Like

put your class .nav-link in to (a) where your href is …not in li …

and for the video you could read this insert a video on your page
Hope this helps…

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