Product Landing Page - Build a Product Landing Page

Tell us what’s happening:
I really dont understand what Im doing wrong here, the instruccions dont verify that I have the href atributes un my nav-bar, but I clearly do, but im not sure if they are place correctly, and my second problem is that, Im not sure if my nav-bar is on top of the viewport, i really would love some help here, Im absolutely stuck :C
Your code so far

<!-- file: index.html -->
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Product Landing Page</title>
    <link rel="stylesheet" href="styles.css" />
    <header id="header">
      <img src="" id="header-img" />
      <nav id="nav-bar">
          <li href="#email" class="nav-link" href="#email"><a href="#email">email</a></li>
          <li href="#name" class="nav-link" href="#name"><a href="#name">name</a></li>
          <li class="nav-link" href="#phone-number"><a href="#phone-number">phone number</a></li>
    <form id="form" action="">
     <video id="video" src=""></video>
      <label for="email">Email: </label>
      <input id="email" type="email" name="email" placeholder="here your email"></input>
      <label for="name">Email: </label>
      <input id="name" type="text" name="name" placeholder="here your name"></input>
      <label for="phone-number">Email: </label>
      <input id="phone-number" type="number" name="phone-number" placeholder="phone number"></input>
    <input id="submit" type="submit" name="submit"> </input>
/* file: styles.css */
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;

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 OPR/

Challenge: Product Landing Page - Build a Product Landing Page

Link to the challenge:

The nav-link class needs to be on the links themselves, not the list items. Only links can have the href attribute.

You might want to take a look at the fixed position property.

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