Showing posts with label password matching using js. Show all posts
Showing posts with label password matching using js. Show all posts

Sunday, April 13, 2025

Password Matching Script using Javascript


 <script>

function check(){
   var password = document.getElementById("password").value;
   var cpassword = document.getElementById("cpassword").value;

   if(password==cpassword){
    document.getElementById("status").innerHTML="Matched!";
   }
   else{
    document.getElementById("status").innerHTML="Not Matched!";
   }
}
</script>

<input type="text" id="password" placeholder="Type Password" onkeyup="check()">
<input type="text" id="cpassword" placeholder="Type Confirm Password" onkeyup="check()">
<br/><br/>
<b id="status"></b>

Variable , Assign multiple variable in python with short program

  See video -  Go to video Code : # variable x = 7 y = 5 z = 9 print ( x + y + z ) #assign multiple variable x , y , z = "hello...