Archived
Private
Public Access
1
0
This repository has been archived on 2026-02-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ProjectBackup/HTML/LoginScreen/index.html
2022-09-04 12:45:01 +02:00

28 lines
864 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Login Screen</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script>
function onClick() {
const email = document.getElementById("Email").value;
const password = document.getElementById("Password").value;
if (email === "leon@ladenbau-hoppe.de" && password === "1234567890") {
window.alert("Successfully logged in!")
}else {
window.alert("Username or Password incorrect!")
}
}
</script>
<div class="login">
<h1>Login</h1>
<input type="email" placeholder="Email" id="Email"> <br>
<input type="password" placeholder="Password" id="Password"> <br>
<button onclick="onClick()">Login</button>
</div>
</body>
</html>