I am not sure which part of my code is wrong. Does anyone have an idea and how to fix it? Thanks
> <form id="form" action="https://www.freecodecamp.com/email-submit">
> <input id="email" type="email" placeholder="email">
> <input id="submit" type="submit" value="submit">
The entire error is saying:
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 #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
It’s telling you what the problem is: “The #email input should have a name attribute”. When I fix that, that test passes.
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.