Form issue in Build a Product Landing Page

I don’t understand the issue with my form id, I’m guessing is something very silly and just a typo, but I cannot resolve it. Please help

I finished everything, but it doesn’t seem to recognize the form id’s

Here’s what I have:

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

 <input
 id="text"
 type="text"
 name="text"
 placeholder="Questions?"
 class="text"              
 required>
</input>       
    <br>
    
 <input
  id="email"
  type="email"
  name="email"
  placeholder="What email would you like?"
  class="email"     
  required>
 </input> 
    <br>
    
    <input
     id="submit"
     type="submit"      
     value="Ask now"     
     class="submit">  
</form>
</footer>

https://codepen.io/inescatg/pen/ExZQPXJ?editors=1000

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.128 Safari/537.36.

Challenge: Build a Product Landing Page

Link to the challenge:

It may be this: the body should include all your html elements, but also codepen only expect the content of the body tags to go inside the HTML box, not the body tags themselves

Thanks for your reply.

But can you give an example please? I have the body closed just before I open the footer. Should I include the footer inside the body?

delete the body tags, as the codepen boilerplate already has those - also in the case of not using a boilerplate the body tags should include everything that is going to be displayed on the page

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