Product Landing Page

The test requirements are:

  • You should have a video or iframeelement with an id of video.
  • Failed:Your #video should have a srcattribute.
  • Failed:You should have a form element with an id of form.
    Your #form should have an action attribute of

I failed these steps but I implemented the code


  <title>My Product Landing Page</title>
  <link rel="stylesheet" href="styles.css">
    /* CSS styles go here */

  <header id="header">
    <img id="header-img" src="logo.png" alt="My Product Logo">
    <nav id="nav-bar">
      <a class="nav-link" href="#features">Features</a>
      <a class="nav-link" href="#pricing">Pricing</a>
      <a class="nav-link" href="#testimonials">Testimonials</a>

  <section id="features">
    <p>Our product has many amazing features that will help you get the most out of it.</p>

  <section id="pricing">
    <p>Our product is available at a competitive price that will fit your budget.</p>

  <section id="testimonials">
    <p>Don't just take our word for it - see what our satisfied customers have to say about our product.</p>

  <section id="video">
    <h1>Watch our Product Video</h1>
    <video  id="video" src="" controls>


  <section id="form">
    <h1>Sign Up for Our Product</h1>
    <form action="" id="form">
      <label for="email">Email:</label>
      <input id="email" name="email" type="email" placeholder="Enter your email address" required>
      <input type="submit" id="submit" value="Submit">

Please post a link to the project you are working on.

You can’t have different elements use the same id.
Remove the id on the section element.

Also you seem to be missing a body closing tag.

Try to check your code for other errors of this type.

Here’s another issue with duplicate ids…

1 Like

This is just an addition to what has already been said:
Where did you put a declaration?

<!DOCTYPE html>

Where is the ‘lang’ attribute, and what is its value in the opening ‘html’ tag?
Where is the closing ‘html’ tag?
Where is the closing ‘section’ tag for the last ‘section’ element?

Post the code in its entirety for us to understand what the issue is.

1 Like

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