-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (49 loc) · 1.91 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
<!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">
<link rel="stylesheet" href="css/index.css">
<title>To Do</title>
</head>
<body>
<h1 class="title">Stuff I need to do</h1>
<div class="all-tasks" >
<h2 class="task-list-title">My lists</h2>
<ul class="task-list" data-lists></ul>
<form action="" data-new-list-form >
<label for="add-new-list"></label>
<input type="text" class="new list" data-new-list-input placeholder="New list name">
<button class="btn create" aria-label="create-new-list">+</button>
</form>
</div>
<div class="todo-list" data-list-display-container>
<div class="to-do-header">
<h2 class="list-title" data-list-title></h2>
<p class="task-count" data-list-count>0 tasks remaining</p>
</div>
<div class="to-do-body" data-tasks >
<div class="task"></div>
</div>
<div class="new-task-creator">
<form action="" data-new-task-form>
<label for="add-new-task"></label>
<input type="text" class="new task" data-new-task-input placeholder="Create new task">
<button class="btn create" aria-label="create-new-task">+</button>
</form>
</div>
<div class="to-do-actions">
<button class="btn delete" data-clear-complete-tasks-btn>Clear completed tasts</button>
<button class="btn delete" data-delete-list-btn>Delete lists</button>
</div>
</div>
<template id="task-template">
<div class="task">
<input type="checkbox">
<label> <span class="custom-checkbox"></span></label>
</div>
</template>
<script src="js/main.js"></script>
</body>
</html>