Skip to content

Tag: radio-button

Syntax for checking value of radio button

Iḿ trying to check for a value of a radio input with Javascript, here is an if statements in one the functions in my code: I’m having trouble with the syntax of the if (understanding1.value == yes ) do … Here is what my code is suppose to do: The user inputs some text > the text has the id