Product Landing Page - Build a Product Landing Page

Tell us what’s happening:
Describe your issue in detail here.
I got stuck in
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 )
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>build a product landing page</title>
    <link rel="stylesheet" href="styles.css">
    <header id="header">
      <img src="" alt="logo" width="100" id="header-img"/>

      <nav id="nav-bar">
            <a href="#Home" class="nav-link">Home</a>

            <a href="#Project" class="nav-link">Project</a>

          <li><a href="#footer" class="nav-link">Feature</a></li>

      <section id="home">
        <h1 class="title">My First App Design</h1>
        <p class="subtitle">My dream in life isto become a proffesioner web and software developer</p>

      <section id="project">
        <video id="video"width="240" height="80" control>
          <source src="" type="video/mp4">
          <source src="movie.ogg" type="video/ogg">
          Birds in the field.

        <form id="form" action="">

                <input id="email" type="email" name="email" placeholder="enter your email">

<input id="submit" type="submit" value="Submit">

      <section id="feature">

          <footer id="footer">
        <a href="#">Privacy</a>
        <a href="#">Terms</a>
        <a href="#">Contact</a>


/* file: styles.css */
/* file: styles.css */

position: fixed;
top: 0;
left: 0;



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:

Ids are case sensitive, so Home and home are two different ids


I think you didn’t get what I’m asking

Please elaborate on what you are asking then because @partum is correct that at least one of the issues in your code is that the href attribute value does not match your element id names.


can you please give me the complete solution

I wish I could help but if I do so, you’ll never learn.
Besides, it’s not allowed on the forum.


No nobody have give me fair solution and I’m also want to learn on my own but, I want to compare my code I’m also want to learning that’s why I ask for code because I’ll compare my code to you and after that I’ll do it myself not copy paste your code of and till now I’ve done by my own now I’m getting only one error and you are saying that I’m directly telling you to give me your first examine my complete code than put any comment is that clear.

I’m about to complete but, I’m getting only one error that’s why I’m saying to you that provide me complete solution.

As other users have said giving out full solutions is not allowed on the forum. As a moderator if I see anyone giving a coding solution I have to remove it from their comment and tell them to stop giving solutions.

Now, as for your code:

Your href here has a capital letter.

   <a href="#Home" class="nav-link">Home</a>

Your id has a lower case letter.

   <section id="home">

The capitalisation must be exactly the same for the hrefs and ids to work correctly.


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