-
Notifications
You must be signed in to change notification settings - Fork 0
/
registration.html
188 lines (162 loc) · 4.69 KB
/
registration.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
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
<!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" />
<!--<link rel="stylesheet" href="style.css" />-->
<script src="script.js" defer></script>
<title>WD101 L-8 assignment</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: hsl(180, 52%, 63%)
}
.heading {
color: azure;
margin-top: 1rem;
font-family: serif;
font-size: 50px;
font-weight: 1500;
}
.subheading {
color: azure;
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
font-style:italic;
}
.label2 {
color: azure;
}
.actual {
background-color: hsl(180, 52%, 63%);
display: flex;
align-items: center;
justify-content: center;
margin-top: 3rem;
}
.form {
display: flex;
align-items: center;
flex-direction: column;
background-color: rgb(26, 67, 67);
width: 600px;
height: 500px;
box-shadow: 2px 4px 10px gray;
border: 1px solid black;
border-radius: 5px;
padding: 15px;
}
.input {
color: rgb(67, 70, 70);
padding: 10px 10px;
border: 3px solid rgb(34, 33, 33);
font-size: 15px;
border-radius: 20px;
background-color: rgb(165, 165, 165);
}
label {
font-size: 18px;
letter-spacing: 1.4px;
}
.tablemargin {
background-color: rgb(82, 89, 89);
margin-top: 2px;
}
.btn {
background-color: rgb(102, 180, 248);
color: white;
padding: 10px 20px;
font-size: large;
font-weight: 600;
border-radius: 10px;
}
input:invalid:focus {
border: 2px solid red;
}
.table {
background-color: rgba(91, 95, 95, 0.5);
border: 2px solid black;
margin: 40px auto;
}
.table {
border-radius: 10px;
border-width: 4px;
}
.td {
border-radius: 5px;
border-width: 2px;
padding: 10px;
text-align: center;
}
.th {
border-radius: 5px;
border-width: 2px;
padding: 10px;
text-align: center;
}
.subheading2 {
text-decoration: underline solid;
font-weight: bold;
color: azure;
text-align: center;
margin-top: 2rem;
}
</style>
</head>
<body>
<h1 align="center" class="heading">Web-development 101 </h1>
<div class="actual">
<form class="form" id="form">
<h2 align="center" class="subheading"><i>Registration Form</i></h2>
<hr style="width:76%;text-align:right;margin-left:0;color: brown">
<table class="tablemargin" cellspacing="25px">
<tr>
<td><label for="name" class="label2">Full Name</label></td>
<td>
<input class="input" type="text" name="name" id="name" placeholder="Full Name" required />
</td>
</tr>
<tr>
<td><label for="email" class="label2">E-mail :</label></td>
<td>
<input class="input" type="email" name="email" id="email" placeholder="Email" required />
</td>
</tr>
<tr>
<td><label for="name" class="label2">Password :</label></td>
<td>
<input class="input" type="password" name="password" id="password" placeholder="Password"
required />
</td>
</tr>
<tr>
<td><label for="dob" class="label2">Date Of Birth :</label></td>
<td>
<input style="width: 220px" class="input" type="date" name="dob" id="dob" required />
</td>
</tr>
<tr>
<td colspan="2">
<input type="checkbox" name="terms" id="terms" />
<label for="terms" class="label2">Accepted Terms?</label>
</td>
</tr>
<tr>
<td>
<button class="btn" type="submit">Submit</button>
</td>
</tr>
</table>
</form>
</div>
<div class="entry">
<h2 class="subheading2"><i>Entries</i></h2>
<div id="tableDiv"></div>
</div>
</body>
</html>