mercredi 22 juillet 2015

javascript button innerHTML

I made 4 buttons with random options of answer to a question in Javascript.

A user has to choose 1 option as an answer. How do I have to write the code in order to check if the button's value(or innerHTML) is matching the right answer?




Aucun commentaire:

Enregistrer un commentaire