dimanche 7 novembre 2021

Java script conditional [closed]

If X and Y are two buttons that we want to make it conditional in JavaScript In such a way that we want to assume that x is correct and y is incorrect Now if we want to command that if the user clicks the X button alert shows up saying"correct" Otherwise when selected Y alert shows up saying "Wrong"

What codes should we write for this issue?

Aucun commentaire:

Enregistrer un commentaire