Issue: When I click the #submit element, the email is submitted to a static page

I find that happens a lot with code pen. I’m having to retype the same code or copy the same code in order for it to work.

Hi, I have the same problem for past the Test. I tried a lot of options, but doesn’t work. Anyone see an error?? https://codepen.io/ignasi_ru/pen/mdExmaB?editors=1000 . Thnks

inside the input u should give name=“email”

Hey, I got this to work but I’m a bit confused as to why specifically adding: name=“email” to it made it work. I understand the “action” part in the form, but not the name part. (WIP codepen is here https://codepen.io/misanthrope_murphy/pen/bGwdYvN?editors=1010 )

1 Like

Stil Not Working

Why It Does Not Work In My

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

  <input id="email" name="email" type="email" placeholder="email" requried>

  <input id="submit" type="submit">

  </form>
1 Like

2 posts were split to a new topic: Hel0pm with project