I am not able to figure out what is wrong in my code that its not passing all 16 condition. when I am testing it result is only 14.
If anyone can help me to identify those two missing condition.
“Link to challenge”
I am not able to figure out what is wrong in my code that its not passing all 16 condition. when I am testing it result is only 14.
If anyone can help me to identify those two missing condition.
“Link to challenge”
You didn’t add the name attribute to <input type="email">
, it passes 15, now let me check the last error
- When I click the #submit element, the email is submitted to a static page (use this mock URL: https://www.freecodecamp.com/email-submit) that confirms the email address was entered (and that it posted successfully).
AssertionError: The #email input should have a name attribute
Thanks,
now waiting for second answer
When I click a .nav-link button in the nav element, I am taken to the corresponding section of the landing page.’
AssertionError: Each .nav-link element should have an href attribute
You have the .nav-link
class to your li
tag, and the error suggest the .nav-link
should have an href,
so try to figure the solution from this hint, figure out where the .nav-link
class should be placed
Thanks,
got your point and fixed it, now its work. Thanks a lot…