-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
43 lines (40 loc) · 1.32 KB
/
login.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login</title>
<link rel="stylesheet" href="styles.css">
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
</head>
<body>
<div class="wrapper">
<form action="">
<h1>Login </h1>
<img src="/assets/logo.png" alt="">
<div class="input-box">
<input type="text" placeholder="Username" required>
<i class='bx bxs-user'></i>
</div>
<div class="input-box">
<input type="password" placeholder="Password" required>
<i class='bx bxs-lock-alt' ></i>
</div>
<div class="remember-forgot">
<label><input type="checkbox">Remember Me</label>
<a href="#">Forgot Password</a>
</div>
<button type="submit" class="btn">Login</button>
<div class="register-link">
<p>Don't have an account? <a href="signup.html" id="register-link">Register</a></p>
</div>
</form>
</div>
<script>
document.getElementById('register-link').addEventListener('click', function(event) {
event.preventDefault(); // Prevent the default anchor behavior
window.location.href = 'signup.html'; // Redirect to the signup page
});
</script>
</body>
</html>