how to make a password system in html
snippet in html

how to make a password system in html

user9708

<script type="text/javascript">
var password = "please";
var x = prompt("Enter in the password "," ");
if (x.toLowerCase() == password) {
 alert("Come right in \n \n You've entered in the right password");
 window.location = "good.htm";
}
else {
 window.location = "bad.htm";
}
</script>

html password and username

user1126

#Check the above or below to know.