I can’t seem to get past this error: When I click the #submit element, the email is submitted to a static page (use this mock URL: https://www.freecodecamp.com/email-submit).
Here is the section of my HTML:
I’m trying everything I can think of so any help is appreciated. Thanks!
Sorry the html didn’t paste over. Let me try again:
Maybe the third time’s the charm:
<form action="https://www.freecodecamp.com/email-submit" id="form">
<input type="email" id="email"placeholder="Your email" required>
<input type="submit" id="submit" formaction= "https://www.freecodecamp.com/email-submit" value="Submit">
you can delete this part, it’s not valid html
can you post the link to your project? much easier to debug like that
also, you should see below the failed user story in the test suite the error message that could be enough for you to get what needs to be changed
Thank you! I just had to include name=“email” and it passed. It was telling me that the whole time I just didn’t see it until your comment.