Need help with survy form

can some one explain this error:
“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. Each radio button must have a value attribute.”

here is my work: https://codepen.io/rajwider/pen/QWMbXwy

thank you

Hi, @rajwindersxxx, welcome to the forum!
I noticed on the radio buttons, you set the values like this.

value:"definitely" 

I fixed that and the tests passed for me.

1 Like

Be sure and read the entire failing message and not just the first line.
The full message is;

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. Each radio button must have a value attribute.
All your radio-buttons must have a value attribute : expected 3 to equal 0
AssertionError: All your radio-buttons must have a value attribute : expected 3 to equal 0

If you reference the lesson Use the value attribute with Radio Buttons and Checkboxes you may be able to answer your own question.

Ask if you continue to have an issue.

1 Like