Hi I’m afraid you need to change the html a lot on this (which will change your js too - but the good news is it makes the js only a few lines!)
This must be a form with radio inputs and a submit button. Ideally those radio inputs should be in a labelled fieldset.
The js must listen for submit of the form. Then it can get the chosen value simply with form.rating.value
(presuming radios have the name of “rating”) which can be used on the results panel
Marked as helpful
@Miguelaeb
Posted
@grace-snow Thanks for the feedback, I already changed the code.