My code is here: https://codepen.io/jdhtwo/pen/xxLZaaN
The instruction: 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).
The error: The #email input should have a name attribute : expected false to equal true
AssertionError: The #email input should have a name attribute : expected false to equal true
My code for that section:
<div>
<form id="form" action="https://www.freecodecamp.com/email-submit" method="post">
<input
name="email"
type="email"
id="email"
placeholder="Enter your email address">
</input>
<input
type="submit"
id="submit"
class="btn">
</input>
</form>
</div>
I have looked at dozens of similar posts and cannot get this test to pass. I have an action attribute on the form for the mock website. I have a name attribute for the form.
Can anyone point me in the right direction please?