-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
65 lines (60 loc) · 2.54 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
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" type="png" href="images/icon/favicon.png">
<title>Login SignUp</title>
<link rel="stylesheet" type="text/css" href="loginStyle.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!-- It will redirect to the Home Page after submitting the form -->
<script>
$(document).ready(function(){
$("form").submit(function(){
alert("Great Job !");
});
});
</script>
</head>
<body>
<div class="form-box">
<div class="button-box">
<div id="btn"></div>
<button type="button" class="toggle-btn" id="log" onclick="login()" style="color: #fff;">Log In</button>
<button type="button" class="toggle-btn" id="reg" onclick="register()">Register</button>
</div>
<div class="social-icons">
<img src="images/icon/fb2.png">
<img src="images/icon/insta2.png">
<img src="images/icon/tt2.png">
</div>
<!-- Login Form -->
<form id="login" class="input-group" action="index.html">
<div class="inp">
<img src="images/icon/user.png"><input type="text" id="email" class="input-field" placeholder="Username or Phone Number" style="width: 88%; border:none;" required="required">
</div>
<div class="inp">
<img src="images/icon/password.png"><input type="password" id="password" class="input-field" placeholder="Password" style="width: 88%; border: none;" required="required">
</div>
<input type="checkbox" class="check-box">Remember Password
<button type="submit" class="submit-btn">Log In</button>
</form>
<div class="other" id="other">
<div class="instead">
<h3>or</h3>
</div>
<button class="connect" onclick="google()">
<img src="images/icon/google.png"><span>Sign in with Google</span>
</button>
</div>
<!-- Registration Form -->
<form id="register" class="input-group">
<input type="text" class="input-field" placeholder="Full Name" required="required">
<input type="email" class="input-field" placeholder="Email Address" required="required">
<input type="password" class="input-field" placeholder="Create Password" name="psame" required="required">
<input type="password" class="input-field" placeholder="Confirm Password" name="psame" required="required">
<input type="checkbox" class="check-box" id="chkAgree" onclick="goFurther()">I agree to the Terms & Conditions
<button type="submit" id="btnSubmit" class="submit-btn reg-btn">Register</button>
</form>
</div>
<script type="text/javascript" src="script.js"></script>
</body>
</html>