0

Hello! Guys, my <input type="radio"... element allows to choose multiple options. How do I make it right?

I use multiple <input type="radio" name=... value=...>Male(female, etc)<br/> tags, but when I run the web page, I am able to choose both "male" and "female" options. Also, I can't unchoose them. I beg forgiveness, for my code is messy https://code.sololearn.com/WLk9C6l35Dgq/?ref=app

13th Oct 2021, 5:29 PM
ŠŠ½Š“рŠµŠ¹ Š¢ŠøŠ¼Š¾Ń„ŠµŠµŠ²
ŠŠ½Š“рŠµŠ¹ Š¢ŠøŠ¼Š¾Ń„ŠµŠµŠ² - avatar
1 Answer
+ 4
the name attributes have different values namely male and female. It should be same. Replace male and female by gender.
13th Oct 2021, 5:38 PM
Kashyap Kumar
Kashyap Kumar - avatar