-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (66 loc) · 2.74 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
74
75
76
77
78
79
<!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>My ToDo List</title>
<link rel="stylesheet" href="assets/style.css">
</head>
<!-- Copyright (c) 2023 Nayeem Hossain -->
<body>
<div id="title">
<h2>My ToDo List</h2>
<h6>Developed By: Nayeem Hossain</h6>
</div>
<div id="main-container">
<!-- button to open task input form box -->
<button id="add-todo-btn">+</button>
<!-- task input form box to add new task -->
<div id="todo-input-form">
<div class="task-form">
<textarea id="task-input" class="task-input" rows="4" placeholder="Enter Task"></textarea>
<div class="meta">
<span class="priority">
<label for="priority"><strong>Priority: </strong> </label>
<label>
<input type="radio" name="priority"
value="high"> High
</label>
<label>
<input type="radio" name="priority"
value="low"> Low
</label>
</span>
<div class="labelKahini">
<label for="labelsInput"><strong>Label: </strong></label>
<div class="autocomplete">
<input id="labelsInput" type="text" name="labelsInput" placeholder="Labels">
</div>
</div>
</div>
<button class="add-task" id="add-task-btn">Add Task</button>
</div>
</div>
<!-- to update a task -->
<div class="modal" id="modal">
<div id="close-btn">
×
</div>
<div class="task-form task-form-modal">
<textarea id="task-input-updated" class="task-input" rows="4" placeholder="Updated Task"></textarea>
<input type="hidden" id="hidden-index-updated">
<button class="add-task" id="update-task-btn">Update</button>
</div>
</div>
<!-- container to show all tasks -->
<div class="task-list" id="task-list">
</div>
</div>
<script type="module" src="app.js"></script>
<!-- <script type="module" src="./events/event-emitter.js"></script>
<script type="module" src="./events/event-handler.js"></script> -->
<script src="label.js"></script>
<script src="handleTabKey.js"></script>
</body>
</html>