-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (39 loc) · 1.77 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
<!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>
<link rel="stylesheet" href="./assets/css/style.css">
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="bg-gray-200 flex justify-center">
<section class="">
<h1 class="text-center my-4 font-bold text-2xl">Todo List</h1>
<div class="flex flex-col content-center">
<form id="todo-form">
<div>
<input class="px-3 py-2 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-300" type="text" placeholder="Add new todo.." id="todo-input" aria-autocomplete="none">
<input class="px-3 py-2 rounded-md bg-blue-400 cursor-pointer" type="submit" value="Add Todo">
</div>
<small id="error-msg"></small>
</form>
<!--my-todo-->
<div>
<h3 class="py-2 text-xl text-gray-800 font-semibold">Pending Tasks</h3>
<ul class="" id="list-item"></ul>
<!-- <i class="fa fa-pencil-square-o text-black" aria-hidden="true"></i> -->
<!-- <i class="fa fa-trash-o" aria-hidden="true"></i> -->
</div>
<!--completed-tasks-->
<div>
<h3 class="py-2 text-xl text-gray-800 font-semibold">Completed Tasks</h3>
<ul class="" id="completed"></ul>
</div>
</div>
</section>
<script src="./assets/js/app.js"></script>
</body>
</html>