Responsive Web Design Projects - Build a Survey Form

Please help. I am failing just 1 test out of 17: https://codepen.io/MrJim/pen/dKWJmK

Error is:

  1. 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.

I do have radio buttons grouped with a common name…what am I missing? :slight_smile:

Hey @MrJim, Equal sign is missing for the value attribute of the radio button. Please fix this.

1 Like

@Ujjwal1604

Oh - well spotted!!

Thank you! :grinning:

Glad to help. Happy coding.

Hi guys,

Thank you for the answer!

However, I’m wondering why it’s compulsory to put a value attribute? Indeed, in the guidelines of this exercices it’s requested to put a name attribute for the radio buttons and a value attribute for the checkboxes. Then why should we pout a value attribute on the radio buttons?

Because the grouping is linked to the name attribute isn’t it?

I hope the question is clear, I’m not english native :wink:

Thank you for your help,

Pierre

i just completed my project2 (Survey Form) – https://codepen.io/sriaman/pen/djQyeN
give me some suggestions and feedback about that
'thank you freecodecamp for giving a better platform to web developers to learn and build "

I have the same error but I can’t find it, here’s my project: codepen io /FreeWorld420/pen/bJGLgR (can’t post the complete link sorry)