Survey Form - Build a Survey Form

my radio buttons dont have the same value for name attribute- this is the only issue left to complete the work

thanks for this , i ll definitely make use of it.

thanks, i got this fixed

1 Like

am still stuck at the radio issue

I know I’m going to sound like a broken record :slightly_smiling_face: but if you have made any changes to your HTML then you need to paste your most recent HTML in here so we can see what you have tried.

Earlier I said:

“Radio buttons are considered to be in the same group if they have the same value for the name attribute. Do your radio buttons all have the same value for the name attribute?”

Do you have any questions about what I said?

my radio has different value for name attribute

 <label 
      for="recommend" type="radio">Would you recommend freeCodeCamp to a friend?</label>
      <label for="definitely"><input id="definitely" type="radio" name="definitely" class="inline" value="definitely"/>Definitely</label>
      <label for="maybe"><input id="maybe" type="radio" name="maybe" class="inline" value="maybe"/>Maybe</label>
      <label for="not-sure"><input id="not-sure" type="radio" name="not-sure" class="inline" value="not-sure"/>Not sure</label>
    </fieldset>

It’s the name attribute that determines if they are in the same group, not the value attribute.

They all need to have the same value for the name attribute.

1 Like

THANK YOU SOOOO MUCH, ITS DONE
lessons learnt

1 Like

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