Java script conditional [closed]
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?
Source: JavaSript – Stack OverflowNovember 7, 2021