+ 1
What's wrong with this code?
3 Answers
+ 7
Add
value="Red"
and
value="Blue"
in both the input to make it work properly
+ 9
Currently the value of both the radio button is ""
If you want to define value then add this to the attributes of both the radio buttons:
value="Red"
Then your program will work fine.
+ 2
Thanks. It worked