Issues with "Build a Survey" project

Oh man, first time posting here! But I need some help! Sorry if this post isn’t properly formatted, I couldn’t seem to find a FAQ on proper posting, if anyone has that (ie how to paste codes directly to your new topic message) I would be grateful to review it!

However, I’m stuck trying to pass test 13 on the Build a Survey project: “Inside the form element, I can select a field from one or more groups of radio buttons. Each group should be grouped using the name attribute.”

Link: https://codepen.io/rendonelsesser/pen/eQdjRx?editors=1100

What in the world am I doing wrong?? Thank you in advanced!

Rendon

If you look just a bit further down into the error text for #13 it says “All your radio-buttons must have a value attribute : expected 3 to equal 0”

Meaning, they’re missing a value attribute like for example:

<li><input type="radio" value="maybe" name="radio-buttons"><label>Maybe, if I had a better super power.</label></li>

I do admit though the whole “Each group should be grouped using the name attribute” is a bit misleading

Woooow, I added the value attribute and I’m back on track! Thank you so much!

1 Like