I’ve been working my way through the Responsive Web Design Survey Form project, and I can’t seem to get user story #13 to pass the tests.
User Story #13: Inside the form element, I can select a field from one or more groups of radio buttons. Each group should be grouped using the
I’m getting the following error:
Every radio-button group should have at least 2 radio buttons : expected 1 to be at least 2
My project can be viewed here: https://codepen.io/kylesorenson/pen/qBXEVjw
So far as I’m able to tell, I have a group with 3 radio buttons all grouped under the same name.
<fieldset> <legend>Favorite Food:</legend> <input name="food" id="pizza" type="radio" value="pizza" /> <label for="pizza" >Pizza</label> <input name="food" id="sushi" type="radio" value="sushi" /> <label for="sushi" >Sushi</label> <input name="food" id="burrito" type="radio" value="burrito" /> <label for="burrito" >Burrito</label> </fieldset>
Is anyone able to see where I’m going wrong?
Thanks for any help!