-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (47 loc) · 1.87 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
<!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 To-Do's</title>
<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=Work+Sans:wght@300;400;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/main.css" />
<script src="js/app.js" type="module" defer></script>
</head>
<body>
<h1 class="title">Stuff I need to do</h1>
<!-- lists section -->
<aside class="all-tasks">
<h2 class="task-lists-title">My Lists</h2>
<ul class="task-lists" id="task-lists">
</ul>
<form action="" class="new-list-form" id="new-list-form">
<input type="text" class="new add-list" placeholder="new list name" aria-label="new list name" id="new-list-name" />
<button class="btn add-list" aria-label="create new list" id="new-list">+</button>
</form>
</aside>
<!-- todo-list section -->
<section class="todo-list">
<div class="todo-list-header">
<h2 class="list-title" id="list-title"></h2>
<p><span id="tasks-number">0</span> tasks remaining</p>
</div>
<div class="todo-list-body">
<div class="tasks" id="tasks">
</div>
<form action="" class="new-task-form">
<input type="text" class="new add-task" placeholder="new task name" aria-label="new task name" id="new-task-name" />
<button class="btn add-task" aria-label="create new task" id="new-task">+</button>
</form>
</div>
</div>
<div class="todo-list-footer">
<button class="btn delete">Clear completed tasks</button>
<button class="btn delete" id="delete-list" disabled>Delete list</button>
</div>
</section>
</body>
</html>