Survey Form - User story #13

Why am I failing the user story 13?

user story # 13 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.

the part of my code is:

<p>How was the weather?</p>
<input type="radio" name="weather" value="sunny">sunny</input>
<input type="radio" name="weather" value="cloudy">cloudy</input>
<input type="radio" name="weather" value="rainy">rainy</input>
<input type="radio" name="weather" value="foggy">foggy</input>
<input type="radio" name="weather" value="thunderstorm">thunderstorm</input>
<br>
<input type="radio" name="temp">under 20°C</input>
<input type="radio" name="temp">over 20°C</input>
1 Like

Don’t waste your time … i’ve tried it with firefox --> doesn’t work; i’ve tried it with internet explorer --> doesn’t work. Today in the evening i will try it with chrome --> maybe it works there. Others had still the same issue, that testing works only with chrome correctly.

I will call for help again, if it’s not a browser-issue!

1 Like

Hi ! I also got the error. Even if it’s not stated in the instructions, you should add a value field. And don’t forget that radio input fields are supposed to have auto-closing tags :wink: ):

<input type="radio" name="radio-buttons" value="fries" id="fries" />
<label for="fries">Fries</label>
<input type="radio" name="radio-buttons" value="potatoes" id="potatoes" />
<label for="potatoes">Potatoes</label>
1 Like