-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (66 loc) · 3.39 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!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">
<title>ToDo List</title>
<script src="tailwind.js"></script>
</head>
<body>
<div class="min-h-screen w-full flex flex-col items-center justify-center gap-2" id="main-content">
<div class="sticky top-0 text-center py-2 bg-white w-full" id="header-area">
<h2 class="text-blue-400 text-3xl w-full font-bold uppercase">ToDo Lists</h2>
<span id="show-username" class="text-gray-400"></span>
<span id="logout-btn" class="text-blue-400 cursor-pointer hover:text-blue-500">Logout</span>
</div>
<div class="flex items-center justify-center flex-col w-full" id="todo-list-area">
<div id="username-form">
<div id="username-form" class="bg-white shadow-lg border w-full p-5">
<input type="text" name="" class="bg-zinc-50 w-full outline-0 border border-gray-300 p-2"
placeholder="Username" id="username-input">
<button id="username-btn" class="w-full bg-blue-500 text-white p-2 mt-2">Submit</button>
</div>
</div>
<div id="todo-list" class="max-w-md w-full mx-auto">
<!--
//Demo Code
<div class="border-b w-full py-2 flex items-center bg-lime-50 px-5">
<div class="flex-1">
<h2 class="text-xl">Lorem ipsum dolor sit, amet consectetur adipisicing elit. Omnis,
accusantium!</h2>
<p class="text-xs">Date: 20th June</p>
</div>
<div>
<button class="bg-blue-500 text-white px-4 py-1 rounded-sm hover:bg-blue-600">Undone</button>
<button class="bg-blue-500 text-white px-4 py-1 rounded-sm hover:bg-blue-600">Delete</button>
</div>
</div>
<div class="border-b w-full py-2 flex items-center px-5">
<div class="flex-1">
<h2 class="text-xl">Lorem
ipsum
dolor sit, amet
consectetur
adipisicing elit. Omnis,
accusantium!</h2>
<p class="text-xs">Date: 20th June</p>
</div>
<div>
<button class="bg-blue-500 text-white px-4 py-1 rounded-sm hover:bg-blue-600">Done</button>
<button class="bg-blue-500 text-white px-4 py-1 rounded-sm hover:bg-blue-600">Delete</button>
</div>
</div>
-->
</div>
</div>
<div id="todo-form" class="sticky bottom-0 p-5 border-t w-full flex gap-2 bg-white">
<input type="text"
class="bg-white shadow-sm p-2 border border-gray-100 flex-1 border outline-0 text-gray-400 rounded-sm hover:border-gray-400 focus:border-gray-400"
placeholder="Write yoour task" id="todo-input">
<button class="bg-blue-500 text-white px-4 py-1 rounded-sm hover:bg-blue-600" id="todo-btn">Add</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>