-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
52 lines (45 loc) · 2.66 KB
/
index.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
<head>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-100">
<div class="flex items-center justify-center"></div>
<div class="bg-white p-8 rounded-lg shadow-md w-full max-w-md">
<h2 class="text-2xl font-bold mb-6 text-center text-gray-800">Sign Up</h2>
<form action="" id="user-form">
<div class="mb-4">
<label for="name" class="block text-gray-700 font-semibold mb-2">Name</label>
<input type="text" id="name" name="name" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-400">
</div>
<div class="mb-4">
<label for="email" class="block text-gray-700 font-semibold mb-2">Email</label>
<input type="email" id="email" name="email" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-400">
</div>
<div class="mb-4">
<label for="password" class="block text-gray-700 font-semibold mb-2">Password</label>
<input type="password" id="password" name="password" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-400">
</div>
<div class="mb-4">
<label for="dob" class="block text-gray-700 font-semibold mb-2">Date of Birth</label>
<input type="date" id="dob" name="dob" class="w-full px-3 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-400">
</div>
<div class="mb-6">
<label for="acceptTerms" class="inline-flex items-center">
<input type="checkbox" id="acceptTerms" name="acceptTerms" class="form-checkbox text-blue-500">
<span class="ml-2 text-gray-700">Accept Terms and Conditions</span>
</label>
</div>
<button type="submit" class="w-full bg-blue-500 text-white py-2 rounded-lg hover:bg-blue-600 transition duration-200 font-semibold">
Submit
</button>
</form>
</div>
</div>
<div class="mt-4 bg-gray-100 p-4 rounded-lg shadow-md">
<div>
<h2 class="text-2xl font-semibold text-gray-800 mb-4">Entries</h2>
<div id="user-entries" class="bg-white p-4 rounded-lg shadow-inner"></div>
</div>
</div>
</body>
<script src="./index.js"></script>
</body>