-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (62 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!DOCTYPE html>
<html>
<head>
<title>To-do List</title>
<link rel="stylesheet" href="src/index.css" />
<script defer src="src/index.js"></script>
</head>
<body>
<h1 class="title">Reminder List</h1>
<div class="all-tasks">
<button class="toggle-list" onclick="toggleList()">Saved lists</button>
<div id="savedList">
<ul class="task-list" data-lists>
</ul>
<form action="" data-new-list-form>
<input type="text"
class="new list"
data-new-list-input
placeholder="new list name"
aria-label="new list name"
/>
<button class="btn create" aria-label="create new list">Add</button>
</form>
<div class="delete-stuff">
<button class="btn delete" data-delete-list-button>Delete list</button>
</div>
</div>
</div>
<div class="todo-list" data-list-display-container>
<div class="todo-header">
<h2 class="list-title" data-list-title>Test title</h2>
<p class="task-count"data-list-count>3 tasks remaining</p>
<div class="new-task-creator">
<form action="" data-new-task-form>
<input type="text"
data-new-task-input
class="new task"
placeholder="new task name"
aria-label="new task name"
/>
<button class="btn create" aria-label="create new task">Add</button>
</form>
</div>
</div>
<div class="todo-body">
<div class="tasks" data-tasks></div>
<div class="delete-stuff">
<button class="btn delete" data-delete-tasks-button>Delete task</button>
</div>
</div>
</div>
</div>
<template id="task-template">
<div class="task">
<input type="checkbox"/>
<label>
<span class="custom-checkbox"></span>
</label>
</div>
</template>
</body>
</html>