-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (47 loc) · 1.88 KB
/
index.html
File metadata and controls
55 lines (47 loc) · 1.88 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
52
53
54
55
<!DOCTYPE html>
<html>
<head>
<title>Customizable To Do List</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Poppins:wght@600&display=swap" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="app">
<div class="header">
<h1>My To Do List</h1>
<img src="images/icon.png" class="app-icon" alt="">
</div>
<form id="todo-form">
<input
type="text"
id="todo-input"
placeholder="Enter a task"
autofocus
/>
<button type="submit" id="add-btn">Add</button>
</form>
<div class="toolbar">
<div class="filters">
<button data-filter="all">All</button>
<button data-filter="active">Active</button>
<button data-filter="completed">Completed</button>
</div>
<div class="items-left">
<span id="item-count">0 left</span>
</div>
<button id="clear-completed" class="clear-completed">Clear all completed</button>
</div>
<div class="list-wrap">
<div id="empty-state" class="empty-state">
No tasks yet
</div>
<ul id="todo-list"></ul>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>