So machen Sie Passwort in HTML korrekt oder falsch
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>owen bucks</title>
</head>
<body>
</body>
<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>
Hurt Herring