Simple Survey - user story #13

Simple Survey - user story #13
0.0 0

#1

I’m trying to do this challenge (https://learn.freecodecamp.org/responsive-web-design/responsive-web-design-projects/build-a-survey-form/), but I can’t pass 13th user story:

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 name attribute.

here’s my code: https://codepen.io/supuun/pen/wXpogE
and here is radio buttons’ code snippet:

<div id='rad-container'>
          <div id="rad1-div" class='rad-divs'>
            <label for="rad1"> 1 </label>
            <input type='radio' id='rad1' name='first'>
          </div>
          <div id="rad2-div" class='rad-divs'>
            <label for="rad2"> 2 </label>
            <input type='radio' id='rad2' name='first'>
          </div>
          <div id="rad3-div" class='rad-divs'>
            <label for="rad3"> 3 </label>
            <input type='radio' id='rad3' name='first'>
          </div>
        </div>

#2

Radio buttons should also have the value attribute.