I need help on the product landing page confusing me with number 12
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).
link to pen:https://codepen.io/leahec_lescra/pen/QWpqQeZ
I don’t understand what’s wrong with my code, I have the mock link
@lce2465we, when a test fails click the red button to see which test(s) are failing and text to help you correct the issue.
Be sure and read more than just the first line of the failing message. The ability to read and comprehend error messages is a skill you’ll need to acquire as a developer. Ask questions on what you don’t understand.
The failing test says
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
Do you now understand what the test is looking for?
No, I don’t remember what name attribute means
Do you have any link to when the camp is explaining it etc??
I’m not trying to be harsh but part of being a developer is being able to search. That’s another skill you’ll need to acquire.
For instance, when you did the survey form project one of the user stories asked for a dropdown. That was not covered in any of the FCC lessons so you had to research to find out how to satisfy that user story.
Nothing harsh just the truth
I will try
I figured it out
Thank you for giving me motivation and advice
I knew you would be able to. Good job!
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.