Survey form challenge button fail

Hello Guys,

I am actually doing the second project i.e the survey form and i am stuck with the last test which is the button submit

i have tried <button type="submit" value="Submit">Submit</button>

and <input type="submit" id="submit" value="Submit">

but nothing works.

Any help from you guys will be most welcome.

It’s easier if you provide a link to your code rather than just one line.
The first line looks like what the user story is asking for in that it’s looking for a button but the user story also says there should be an id="submit

What does the failing message say? Not just the first line.
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.
1 Like