Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

<title>Login</title>
<script> function validateLogin() { var username = document.getElementById("username").value; var password = document.getElementById("password").value;
        // Check the login credentials
        if (username === "Riley" && password === "password") {
            // If Riley logs in, navigate to Riley's page
            window.location.href = "riley_page.html";
        } else if (username === "Admin" && password === "1234") {
            // If Admin logs in, navigate to Admin's page
            window.location.href = "admin_page.html";
        } else {
            // Display an error message (you can customize this part)
            alert("Invalid username or password. Please try again.");
        }
    }
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
<script src="js/hartfordjs.js"></script>

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages