-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
69 lines (68 loc) · 2.99 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!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>BG Store - login</title>
<link rel="stylesheet" href="assets/stylesheets/login.css">
<link rel="stylesheet" href="assets/css/all.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;800&display=swap" rel="stylesheet">
</head>
<body>
<div id="container">
<main>
<div class="main-2">
<h2><span class="h2--part">MODESTY</span><br>
<span class="h2--part">WITH</span><br>
<span class="h2--part">SIMPLICITY</span>
</h2>
</div>
<div class="main-1--container">
<div class="main-1">
<h1>Login</h1>
<form method="post">
<div class="form-field">
<label for="email">Email</label>
<input type="email" name="email" id="email">
</div>
<div class="form-field">
<label for="password">Password</label>
<input type="password" name="password" id="password">
</div>
<div class="remember">
<div class="switch">
<div class="toggle"></div>
</div>
<input type="checkbox" name="remember" id="rememberMe">
<label for="rememberMe">Remember me</label>
</div>
<input type="submit" value="Log In" class="ajax-on-submit">
</form>
<div class="links">
<p>Forgot your password?<a href="forgot-password.html"> Reset it</a></p>
<p>Don't have an account?<a href="signup.html"> Sign up</a></p>
</div>
<div id="oauth">
<a href="" class="fb"><i class="fa-brands fa-facebook"></i>Sign In With Facebook</a>
<a href="" class="gm"><i class="fa-brands fa-google"></i>Sign In With Gmail</a>
</div>
</div>
</div>
</main>
</div>
<script>
const rSwitch = document.getElementsByClassName('switch')[0];
rSwitch.addEventListener('click', () => {
active = rSwitch.classList.contains("active");
if (active) {
rSwitch.classList.remove("active");
} else {
rSwitch.classList.add("active");
}
})
</script>
</body>
</html>