Answers for "Simple login"

0

Simple login

<!DOCTYPE html>
<html>
    <head>
        <title>Login</title>
    </head>
    <body>
        <script>
            let passwort = prompt("What is the Password");
            if (passwort == "test"){
                window.open("https://www.w3schools.com"); //Not Secure
            }
        </script>
    </body>
</html>
<!-- Note, this is not a Secure login. Any Body can see the Password in the Source Code -->
Posted by: Guest on May-13-2021

Browse Popular Code Answers by Language