-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (68 loc) · 3.18 KB
/
index.html
File metadata and controls
73 lines (68 loc) · 3.18 KB
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
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="index.css">
<title>Login here</title>
</head>
<body>
<div class="container">
<div class="forms-container">
<div class="signin signin-signup">
<nav action="" class="sign-in-form">
<h2 class="title">Login Here!..</h2>
<div class="input-field">
<i class="fa fa-user"></i>
<input type="text" placeholder="Enter Full Name" class="textinput" id="userInp" required/>
</div>
<span id="error1" style="color: #e00437;"></span>
<div class="input-field">
<i class="fa fa-lock"></i>
<input type="password" placeholder="Enter Password" class="textinput" id="passInp" required/>
<i class="fa fa-eye" id="togglePassword" style="cursor: pointer;"></i>
</div>
<span id="error2" style="color: #e00437;"></span>
<div class="form-check form-switch">
<input class="form-check-input" type="checkbox" id="customSwitch1">
<label class="form-check-label" for="customSwitch1">Keep me Login</label>
</div>
<a class="pass" href="#">Forgot your password?</a>
<button type="text" id="sub_btn" class="btn solid">Sign in</button><br>
<div class="social-container ">
<a href="#" class="fa fa-facebook"></a>
<a href="#" class="fa fa-twitter"></a>
<a href="#" class="fa fa-google"></a>
<a href="#" class="fa fa-linkedin"></a>
</div>
</nav>
</div>
</div>
<div class="panels-container">
<div class="panel left-panel">
<div class="content">
<img height=145px width=250px src="https://1000logos.net/wp-content/uploads/2021/05/Meetup-logo.png">
<h3>You don't have an account?</h3>
<p>Create your account right now to follow people and like publications</p>
<a href="signup.html" class="badge-secondary"><button class="btn transparent"
id="sign-up-btn">Register</button></a>
</div>
</div>
</div>
</div>
</body>
<script>
const togglePassword = document.querySelector("#togglePassword");
const password = document.querySelector("#passInp");
togglePassword.addEventListener("click", function (e) {
const type =
password.getAttribute("type") === "password" ? "text" : "password";
password.setAttribute("type", type);
this.classList.toggle("fa-eye-slash");
});
</script>
<script type="module" src="firebase.js"></script>
</html>