My product landing page is not getting approved

i’ve done multiple things to make my code work i refreshed it changed my browser still ntg is working
if i add my header element my form element doesn’t work, and if i add my form element my header element doesn’t work please helppppp…

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>landing-page</title>
    <link rel="stylesheet" href="./styles.css">
    
</head>
<body>
   <header id="header">
    <img id="header-img" src="https://cdn.freecodecamp.org/testable-projects-fcc/images/product-landing-page-logo.png">
   <nav id="nav-bar">
    <ul>
      <li><a class="nav-link" id="how-it-works"href="#how-it-works">How it works</a></li>
      <li><a class="nav-link" id="features" href="#features">Features</a></li>
      <li><a class="nav-link" id="pricing" href="#pricing">Pricing</a></li>
      </ul>
    </nav>
     </header>
 
     <section id="how-it-works">
       <iframe id="video"
       height: "315"
       src="https://www.youtube-nocookie.com/embed/y8Yv4pnO7qc?rel=0&amp;controls=0&amp;showinfo=0"
       allowfullscreen/>
       </section>
       <form></form>
        <div class="container"></div>
      <section id="hero">
    <h2>Handcrafted, home-made masterpieces</h2>
    <form id="form" action="https://www.freecodecamp.com/email-submit">
    <input id="email" placeholder="Enter your email address" type="email" name="email" required>
    <br><input id="submit" type="submit" value="GET STARTED" class="btn"/></br>
    </form>
    </section>

Hi there, welcome to fcc community.

To debug your HTML, you can use an HTML validator like this one to looking for issues in your code:

Hint: most of the tests were failed because there is something wrong with your iframe tag.

You can embed a Youtube video by click Share button > Embed > and then copy the iframe code.

1 Like

omgg thank you soo much i’ve been stuck here for dayss
apparently i didn’t add a closing tag to iframe

2 Likes