jeudi 1 juillet 2021

My JavaScript first if block is not working, I am unable to detect error. Kindly guide [closed]

[enter image description here][1] Kindly check the image for context.

function validation(){
    var email = document.getElementById("em").val;
    var password = document.getElementById("pass").val;
    if(password === "CWUA" && email === "cwua@gmail.com"){
        alert("not check");
    } else{
     
}



Aucun commentaire:

Enregistrer un commentaire