-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (69 loc) · 4.41 KB
/
index.html
File metadata and controls
82 lines (69 loc) · 4.41 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
<!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 href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.19/tailwind.min.css" rel="stylesheet">
<title>Document</title>
</head>
<body class="bg-gray-900">
<div class="h-full max-h-full flex flex-col
items-center justify-center content-center p-20 ">
<div class="text-white px-6 py-9 bg-gray-800 rounded-md border-4 border-white shadow-2xl" >
<div class="mb-11 text-2xl font-bold flex justify-center">
<h2>
Registration Form
</h2>
</div>
<form class="font-semibold text-lg" id="userform" onsubmit="form_validate()">
<div class="mb-5 flex flex-row space-x-28 items-center">
<label for="name">Name</label>
<input class="w-56 rounded-md bg-gray-500 bg-opacity-40 rounded border border-gray-500 focus:border-green-500 focus:bg-gray-900 focus:ring-2 focus:ring-green-900 text-base outline-none text-gray-100 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out" placeholder="Enter the Name" type="text" id="name" name="name" required>
</div>
<div class="mb-5 flex flex-row space-x-28 items-center">
<label for="email">Email</label>
<input class="w-56 rounded-md bg-gray-500 bg-opacity-40 rounded border border-gray-500 focus:border-green-500 focus:bg-gray-900 focus:ring-2 focus:ring-green-900 text-base outline-none text-gray-100 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out" placeholder="Ex: abc123@gmail.com" type="email" id="email" name="email" required>
</div>
<div class="mb-5 flex flex-row space-x-20 items-center">
<label for="password">Password</label>
<input class="w-56 rounded-md bg-gray-500 bg-opacity-40 rounded border border-gray-500 focus:border-green-500 focus:bg-gray-900 focus:ring-2 focus:ring-green-900 text-base outline-none text-gray-100 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out" type="password" id="password" name="password" required>
</div>
<div class="mb-5 flex flex-row space-x-14 items-center">
<label for="dob">Date of Birth</label>
<input class="w-56 rounded-md bg-gray-500 bg-opacity-40 rounded border border-gray-500 focus:border-green-500 focus:bg-gray-900 focus:ring-2 focus:ring-green-900 text-base outline-none text-gray-100 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out" min="1968-02-12" max="2005-02-12" type="date" id="dob" name="dob" required>
</div>
<div class="mb-6 text-sm items-center">
<input class="mr-2" type="checkbox" id="acceptterm" name="acceptterm" required>
<label for="acceptterm">Terms & Conditions</label>
</div>
<div>
<button class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 border border-blue-700 rounded" type="submit">Submit</button>
</div>
</form>
</div>
<div class="mt-10 px-20 ">
<div class="text-white py-2 px-2 bg-gray-800 rounded-md border-4 border-white shadow-2xl" >
<div class="mb-8 text-2xl font-bold flex justify-center">
<h2>
Entries
</h2>
</div>
<table class="border-collapse border-2 border-indigo-400 w-full" id="regTable">
<thead>
<tr>
<th class="border p-2 bg-gray-900">Name</th>
<th class="border p-2 bg-gray-900">Email</th>
<th class="border p-2 bg-gray-900">Password</th>
<th class="border p-2 bg-gray-900">DOB</th>
<th class="border p-2 bg-gray-900">Accepted terms?</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>