+ 1
Problem with JS in code.
https://code.sololearn.com/WdWbqtffLEtm/?ref=app What is the error in this code that this doesn't follow if elseif statements? (Refer to the things which happens after verification of password and username in my code..) Whether the password is right or wrong,it takes me to a blank page.
2 Respuestas
+ 2
It because the form are submitted. You can use preventDefault to prevent it.
https://www.w3schools.com/jsref/event_preventdefault.asp
+ 1
Thanks Taste