Survey Form project - Need help

Hi peeps,

I’ve completed the survey form project challenge, and completed the user stories to the best of my ability. But I’m only able to get 15/17 tests passed. Hoping for some kind souls to help me point out which ones I’m not getting right. Below is my codepen link:

https://codepen.io/twistedjargon/pen/qBbyEPQ

Looking forward to your feedbacks. Thanks in advance.

The errors indicate that you need an html5 response if the name isn’t filled out. check out the input required attribute. https://www.w3schools.com/tags/att_input_required.asp

<input type="text" id="name" placeholder="Enter your name" required>

Also the second error says you need a value on you radio buttons. Check out the input value attribute. https://www.w3schools.com/tags/att_input_value.asp

value="maybe"

fix those and you’re good.

1 Like

For first error, add “required” on ur input tag of name and for the second error, give ur each radio button value.

1 Like

Thank you so much guys! Appreciate the help! :smiley: