I want that when the “Yes” radio button of a form (form1) is checked, a new form (form2) appears, with two radio buttons and their text “Yes” and “No”. With an event “onclick” in the “Yes” button of the form1, I manage to make the new form appear, with the two radio buttons, but I cannot make their text appear. Since radio buttons do not have “innerHTML”, I try to add the text either as plain text, either as “label”, but it is not working. Is it a problem in the syntax or in the logic (not possible to create text at the same time as the button)? Thank you for your help.
In my HTML body I have this:
The function exam() is: