26th Mar 2019, 8:06 AM
Piyush Kumar
Piyush Kumar - avatar
3 Answers
+ 7
Add value="Red" and value="Blue" in both the input to make it work properly
26th Mar 2019, 8:16 AM
VEDANG
VEDANG - avatar
+ 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.
26th Mar 2019, 8:18 AM
Letsintegreat
Letsintegreat - avatar
+ 2
Thanks. It worked
26th Mar 2019, 8:34 AM
Piyush Kumar
Piyush Kumar - avatar