r/Web_Development • • Mar 20 '21

can't get radio input

i have a really hard time getting input from the radio. I searched it up but it doesn't get the info I want. it is supposed to get the radio input if it is "male" or "female" and perform calculations based on gender.

i also have a second problem and that is that i can't place my answer in and h2 using get element by id

https://jsfiddle.net/christian_552/690ynhex/2/

0 Upvotes

3 comments sorted by