-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
170 lines (134 loc) · 3.8 KB
/
index.html
File metadata and controls
170 lines (134 loc) · 3.8 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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>REGISTRATION</title>
<script src="need.js"></script>
<link rel="stylesheet" type="text/css" href="bootstrap.css">
<style>
body {
background: cadetblue;
}
.reg {
text-align: center;
padding: 20px;
}
.navbar {
position: relative;
background: black;
}
#navlist {
list-style: none;
display: flex;
padding: 0;
margin: 0;
background: black;
}
#navlist li {
flex: auto;
text-align: center;
padding: 1.6em;
font-size: 18px;
color: white;
}
#navlist li:hover {
background: red;
}
#toggle-nav {
display: none;
margin: auto;
cursor: pointer;
}
@media all and ( max-width: 500px ) {
.navbar {
padding: 1.6em;
}
#navlist {
flex-direction: column;
display: none;
}
#toggle-nav {
display: block;
color: white;
}
.fog{
transition: ease-in 50s;
}
</style>
</head>
<body>
<nav class="navbar">
<span id="toggle-nav" onclick="toggleNav()">
<i class="fa fa-bars"></i>
</span>
<ul id="navlist">
<li><a href="#"> HOME</a></li>
<li>SIGNUP</li>
<li>REGISTER</li>
</ul>
</nav>
<h1 class="reg"><i>REGISTRATION</i></h1>
<div class="container">
<form class="row g-3" method="" action="get">
<div class="col-md-6">
<label for="inputEmail4" class="form-label">Email</label>
<input type="email" class="form-control" id="inputEmail4">
</div>
<div class="col-md-6">
<label for="inputPassword4" class="form-label">Password</label>
<input type="password" class="form-control" id="inputPassword4">
</div>
<div class="col-12">
<label for="inputAddress" class="form-label">Address</label>
<input type="text" class="form-control" id="inputAddress" placeholder="1234 Main St">
</div>
<div class="col-12">
<label for="inputAddress2" class="form-label">Address 2</label>
<input type="text" class="form-control" id="inputAddress2" placeholder="Apartment, studio, or floor">
</div>
<div class="col-md-6">
<label for="inputCity" class="form-label">City</label>
<input type="text" class="form-control" id="inputCity">
</div>
<div class="col-md-4">
<label for="inputState" class="form-label">State</label>
<select id="inputState" class="form-select">
<option selected>Choose...</option>
<option>Kogi</option>
<option>Abuja</option>
</select>
</div>
<div class="col-md-2">
<label for="inputZip" class="form-label">Zip</label>
<input type="text" class="form-control" id="inputZip">
</div>
<div class="col-12">
<div class="form-check">
<input class="form-check-input" type="checkbox" id="gridCheck">
<label class="form-check-label" for="gridCheck">
Rememeber password
</label>
</div>
</div>
<div class="col-12">
<button type="submit" class="btn btn-primary">Sign in</button>
</div>
</form>
<div > <a href="Forgot password.html" class="fog" onclick="delayLinks(event)" id="fogpass">LOGIN?</a></div>
</div>
<script>
var nav = document.getElementById('navlist');
function toggleNav () {
if ( nav.style.display === "" )
nav.style.display = "block";
else
nav.style.display = "";
}
function windowResizeHandler () {
if ( screen.width > 500 )
nav.style.display = "";
}
window.addEventListener("resize", windowResizeHandler);
</script>
</body>
</html>