Product Landing Page Won't Pass Submit Email Test and Don't Know Why

Here’s the code for the form:

<form id = 'form' action = 'https://www.freecodecamp.com/email-submit' action = 'POST'>
  <input type = 'email' id = 'email' placeholder ='myname@somewhere.com'>
  <input type = 'submit' id = 'submit' value = 'SIGN ME UP!!'>
</form>

Read through the Sending Form Data half a dozen times now and just don’t understand why it’s failing. Can anybody help?

Never mind, sorry. I should’ve looked closer at the error message (even if it is an intimidating wall of text). Just needed to assign the email input a name attribute

1 Like

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