Product Landing Page - Build a Product Landing Page

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

Your code so far
I have a problem with : Each .nav-link element should link to a corresponding element on the landing page (has an href with a value of another element’s id. e.g. #footer )

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en"></html>
<head><meta charset="UTF-8"><meta name="viewport" content="width" "width=device-width ,initial-scale=1.0"><link rel="stylesheet" href="styles.css">
<header id="header">
<div class="logo">
<img id="header-img" src="" alt="original trombones logo">
<nav id="nav-bar">
<ul><li><a class="nav-link"href="#features">Features</a></li>
<li><a class="nav-link"href="#how-it-works">How It Works</a></li>
<li><a class="nav-link"href="#pricing">Pricing</a></li></ul></nav></header>
<div class="container"></div>
<section id="hero">
<h2>Handcrafted, home-made masterpieces</h2>
<form id="form" action="">
<input name="email" id="email" type="email" placeholder="Enter your email address" required="">
<input id="submit" type="submit" value="Get Started" class="btn"></form></section>
<div class="container">
<section id="features">
<div class="desc">
<h2>Premium Materials</h2>
<p>Our trombones use the shiniest brass which is sourced locally.This will increase the longevity of your purchase.</p></div>
<div class="desc">
<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></div>
<div class="desc">
<h2>Quality Assurance</h2>
<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></div></section>
<iframe id="video" height="315" src=";controls=0&amp;showinfo=0" frameborder="0" allowfullscreen=""></iframe>
<section id="pricing">
<div class="product" id="tenor">
<div class="level">Tenor Trombone</div>
<li>Lorem ipsum.</li>
<li>Lorem ipsum.</li>
<li>Lorem ipsum dolor.</li>
<li>Lorem ipsum.</li></ol>
<button class="btn">Select</button>
<div class="product" id="bass">
<div class="level">Bass Trombone</div>
<li>Lorem ipsum.</li>
<li>Lorem ipsum.</li>
<li>Lorem ipsum dolor.</li>
<li>Lorem ipsum.</li>
<button class="btn">Select</button>
<div class="product" id="valve">
<div class="level">Valve Trombone</div>
<li>Plays similar to a Trumpet</li>
<li>Great for Jazz Bands</li>
<li>Lorem ipsum dolor.</li>
<li>Lorem ipsum.</li>
<button class="btn">Select</button>
<li><a href="#">Privacy</a></li>
<li><a href="#">Terms</a></li>
<li><a href="#">Contact</a></li>
<span>Copyright 2016, Original Trombones</span>
/* file: styles.css */
@media (max-width: 600px) {
  header {
    flex-wrap: wrap;

img {
  width: 100%;
  object-fit: cover;
#hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 200px;
  margin-top: 50px;

Your browser information:

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

Challenge: Product Landing Page - Build a Product Landing Page

Link to the challenge:

In this task eatch of your “a” tags should have a “href” to an element of the webpage, and your are doing right, except for the “How-it-works” that is not linked with anything.

good morning thank you for the help I solved the issue already.

1 Like