-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (48 loc) · 1.55 KB
/
index.html
File metadata and controls
51 lines (48 loc) · 1.55 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
51
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Todo App</title>
<link rel="stylesheet" href="style.css" />
<!-- font awesome -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" />
<!-- poppins font -->
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap" rel="stylesheet" />
</head>
<body>
<!--main app container -->
<div class="app">
<!-- header -->
<header>
<h1><i class="fas fa-check-circle"></i> My Tasks</h1>
<p id="date"></p>
</header>
<!-- input form -->
<div class="todo-input">
<input type="text" id="task-input" placeholder="What do you need to do?" />
<button id="add-task"><i class="fas fa-plus"></i></button>
</div>
<!-- filters -->
<div class="filters">
<span class="filter active" data-filter="all">All</span>
<span class="filter" data-filter="active">Active</span>
<span class="filter" data-filter="completed">Completed</span>
</div>
<!-- todos list -->
<div class="todos-container">
<ul id="todos-list"></ul>
<div class="empty-state hidden">
<i class="fas fa-clipboard-list"></i>
<p>No tasks here yet</p>
</div>
</div>
<!-- footer -->
<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>