Build a Survey Form

  • Every radio button group should have at least 2 radio buttons.

It’s correct but still giving this error

<h3>Would you recommend freeCodeCamp to a friend</h3>
        <input type="radio" name="definitely" value="Definitely" /><label>Definitely</label>
       <input type="radio" name="maybe" value="Maybe" /><label>Maybe</label>
       <input type="radio" name="NotSure" value="not-sure" /><label>Not Sure</label>

A radio button is part of a group if it has the same name attribute as another button.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.