i have tried all i could think off, please where am i wrong
product landing page
Try to add the name attribute to your input tags inside the form.
Hi @RealLeon
In case it isn’t clear, you can click on the 15/16 Passed-box (it is a button),
after clicking it (or using the command shown in the picture), you should get a view of something similar to this:
And here it will show you what user stories you have completed and which you have not. A good tip is to have a look at the first line of the stories you don’t complete to get a feeling for what they require:
The test you are not passing is this one:
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).
If you have a look at the first line in the list (where the highlighted text is), you can see that it says:
The #email input should have a name attribute : expected false to equal true
.
Therefore, you should add something similar to: name="email"
in the input-tag for your email. Hope it helps
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.