This repository has been archived by the owner on Oct 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (46 loc) · 1.46 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>ToDo App</title>
<!-- styles -->
<link rel="stylesheet" href="./dist/style.css">
</head>
<body>
<div class="wrapper">
<div class="todo-app">
<h1 class="text-center">Todos</h1>
<div class="add-todo">
<input type="text" placeholder="add Todo heading" id="add-todo-head-input">
<input type="text" placeholder="add Todo description" id="add-todo-text-input">
<button id="add-todo-btn"> + </button>
</div>
<div class="todo-filter">
<button id="filter-todo-all" class="active">All</button>
<button id="filter-todo-completed">Completed</button>
<button id="filter-todo-pending">Pending</button>
</div>
<ul class="todo-list" id="todo">
</ul>
</div>
</div>
<!-- The Modal -->
<div id="my-modal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span id="close">×</span>
<label for="">Title</label>
<input type="text" id="edit-todo-head">
<label for="">Description</label>
<input type="text" id="edit-todo-text">
<div class="model-btn">
<button id="update-todo-btn">update</button>
</div>
</div>
</div>
<!-- scripts -->
<script src="./dist/index.js" type="module"></script>
</body>
</html>