Why are my radio buttons not working right?

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

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

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio

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"

1 Like

Awesome! Thank you! It works now

You’re welcome.

Good Luck & Happy Coding.