-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
62 lines (62 loc) · 2.45 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
<!DOCTYPE html>
<html>
<!-- Heading Section -->
<head>
<title>Todo List</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins&display=swap"
rel="stylesheet"
/>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"/>
<link rel="stylesheet" href="style.css" />
</head>
<!-- Body SEction -->
<body>
<!-- here the heading is added to the page -->
<h1 clas="heading">Ninja's Todos</h1>
<!-- container of the whole todo's list is contains all the elements -->
<div id="container">
<span id="input-placeholder-icon">
<i class="fa fa-list" aria-hidden="true"></i>
</span>
<!-- Input section of the todo's list where we can append the list into the menu -->
<input
placeholder="Add a task"
class="add-task"
id="add"
data-helloWord="asdasdas"
/>
<!-- Label of the total tasks calculator and the complete all the tasks -->
<span id="total-tasks"
>Total tasks: <span id="tasks-counter">0</span></span
>
<span id="complete-tasks" class="completeAll"> ✔Complete all!</span>
<span id="delete-completed-tasks" class="deleteAll">Delete all Completed!</span>
<!-- List of the item to be appended in the list should be here -->
<div id="list-item">
<ul id="list">
<!-- <li>
<input type="checkbox" id="task1" data-id="12" class="custom-checkbox">
<label for="task1">Buy groceries</label>
<img src="bin.svg" class="delete" data-id="12" />
</li> -->
</ul>
</div>
<!-- Remaining Task Label Section to show the remaining tasks -->
<span id="remaining-tasks"
>Remaining tasks:<span id="remaining-task">0</span></span
>
<!-- Completed Tasks label section to show the completed tasks -->
<span id="completed-tasks"
>Completed:<span id="done-tasks-counter">0 </span></span
>
<!-- Navigation buttons bars to navigate through the all the completed , uncompleted tasks. -->
<span id="label-uncomplete" class="uncomplete">Uncomplete </span>
<span id="label-complete" class="complete">Completed </span>
<span id="label-all" class="all">All </span>
</div>
<!-- Javascript file included -->
<script src="todo.js"></script>
</body>
</html>