Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (41 loc) · 1.66 KB
/
Copy pathindex.html
File metadata and controls
50 lines (41 loc) · 1.66 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<title>Interactive Todo App</title>
</head>
<body>
<div class="container">
<div class="header" id="header">
<h1><i class="fas fa-check-circle"></i> My Tasks</h1>
<p id="date"></p>
</div>
<div class="input-bar" id="input-bar">
<input type="text" placeholder="What do you need to do?" id="task-input">
<button id="add-task"><i class="fas fa-plus"></i></button>
</div>
<div class="task-categories" id="task-category">
<span class="task-category active-category" data-filter="all"> All </span>
<span class="task-category" data-filter="active"> Active </span>
<span class="task-category" data-filter="completed"> Completed </span>
</div>
<div class="task-items" id="task-items">
<ul id="todo-list">
<!-- li will be instered here -->
</ul>
<div class="empty-state hidden">
<i class="fas fa-clipboard-list" id="empty-icon"></i>
<p id="empty-text">No tasks here yet!</p>
</div>
</div>
<footer>
<p id="items-left">0 items left</p>
<button id="clear-completed">Clear Completed</button>
</footer>
</div>
<script src="script.js"></script>
</body>
</html>