-
Notifications
You must be signed in to change notification settings - Fork 0
/
About.html
125 lines (125 loc) · 3.57 KB
/
About.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>seek coding</title>
<link rel="stylesheet" href="about.css" />
<!---we had linked our css file----->
</head>
<body>
<div class="full-page">
<div class="navbar">
<div>
<a href="website.html">Seek Coding</a>
</div>
<nav>
<ul id="MenuItems">
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact</a></li>
<li>
<button
class="loginbtn"
onclick="document.getElementById('login- form').style.display='block'"
style="width: auto"
>
Login
</button>
</li>
</ul>
</nav>
</div>
<div id="login-form" class="login-page">
<div class="form-box">
<div class="button-box">
<div id="btn"></div>
<button type="button" onclick="login()" class="toggle-btn">
Log In
</button>
<button type="button" onclick="register()" class="toggle-btn">
Register
</button>
</div>
<form id="login" class="input-group-login">
<input
type="text"
class="input-field"
placeholder="Email Id"
required
/>
<input
type="password"
class="input-field"
placeholder="Enter Password"
required
/>
<input type="checkbox" class="check-box" /><span
>Remember Password</span
>
<button type="submit" class="submit-btn">Log in</button>
</form>
<form id="register" class="input-group-register">
<input
type="text"
class="input-field"
placeholder="First Name"
required
/>
<input
type="text"
class="input-field"
placeholder="Last Name "
required
/>
<input
type="email"
class="input-field"
placeholder="Email Id"
required
/>
<input
type="password"
class="input-field"
placeholder="Enter Password"
required
/>
<input
type="password"
class="input-field"
placeholder="Confirm Password"
required
/>
<input type="checkbox" class="check-box" /><span
>I agree to the terms and conditions</span
>
<button type="submit" class="submit-btn">Register</button>
</form>
</div>
</div>
</div>
<script>
var x = document.getElementById('login');
var y = document.getElementById('register');
var z = document.getElementById('btn');
function register() {
x.style.left = '-400px';
y.style.left = '50px';
z.style.left = '110px';
}
function login() {
x.style.left = '50px';
y.style.left = '450px';
z.style.left = '0px';
}
</script>
<script>
var modal = document.getElementById('login-form');
window.onclick = function (event) {
if (event.target == modal) {
modal.style.display = 'none';
}
};
</script>
</body>
</html>