Why are my radio buttons not working right?

Why are my radio buttons not working right?
0

#1

This is the Survey Form Project I just finished and somehow the radio buttons are not working correctly. I would appreciate any feedback on that and on the form in general. Thank you very much!

Link: https://codepen.io/cmtran/pen/bmNaVN


#2

I think you are missing fieldset tag(s) on your form, check the documentation:


#3

You forgot to add name attribute which should identical in all input fields:

Example:

input 1: <input name="recommend"
input 2 <input name="recommend"
input 3 <input name="recommend"


#4

Awesome! Thank you! It works now


#5

You’re welcome.

Good Luck & Happy Coding.