Product landing page submit test bug fixed!

I saw someone post about the submit test not passing (the test: When I click the #submit element, the email is submitted to a static page (use this mock URL: https://www.freecodecamp.com/email-submit)), i wanted to reply to him/her personally but i cant find the post, so basically what this person didn’t notice is that after the red text in tests section is:
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 means that the #email input should have a name attribute and that name should be set to “email” (not written but when you give it a random name it will say it needs to be “email”).
Hope i helped!

1 Like