Product Landing Page Assistance Pleaseeeee

Hello guys I have been trying to complete this user story with no sucess;

User Story #12: When I click the #submit element, the email is submitted to a static page (use this mock URL: https://www.freecodecamp.com/email-submit).

I’ll appreciate the guidance to find to correct answer, as well as suggestions to improve my code. I feel like it looks to…messy and will lead to problems in the future.

<!DOCTYPE html>
<main> 


<header id="header">
  <h1>It works, and I don't know why...</h1>
  
  <nav id="nav-bar">
 <a class="nav-link" href="#header">Reference towards the Header - </a>
    
      <a href="#header-img" class="nav-link"> Reference towards the Image - </a>
      
<a class="nav-link" href="#footer"> Reference Towards the Footer </a>
          
    </ul>
  </nav>

<video id="video" controls width="300px";>
  <source src="https://www.youtube.com/watch?v=mg7netw1JuM"
type="video/mp4"
muted="false">
</video>

  <div>
  <img id="header-img" src="https://static.wikia.nocookie.net/claymore/images/4/48/Teresa_Color.png/revision/latest?cb=20140429201957">
</div>
</header>


<body>

</body>


<footer id="footer">
 <form id="form" action="https://www.freecodecamp.com/email-submit">

 <input 
 id="email"
 type="email" 
 placeholder="Enter your email" 
 required> 
    
  <input 
  id="submit" 
  type="Submit" 
  value="Submit"
  >
      
  </form>
  
</footer>
</main>

</html>

Hi @Akumanet !

When asking questions for the FCC projects it is best to share your codepen link so we can see the problem for ourselves.

Also, make sure to include the test suite in your project.

<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

For your user story 12, you need to make sure to read the FULL error message.

Here is the part you are missing
The #email input should have a name attribute : expected false to equal true

When I look at your code, I don’t see that

Woooow that worked, I only needed that hahaha
Thank you so much.

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