I’m having some strange problem with my JS program. I had this working properly but for some reason it’s no longer working. I just want to find the value of the radio button
let genderS = Array.from(document.getElementsByName("genderS")).find(r => r.checked).value;