-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (56 loc) · 1.4 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/fav.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="/stylesheets/style.css" />
<title>Todo App</title>
</head>
<body>
<div class="app">
<header>
<h1>Todo List</h1>
<input
class="new-item"
data-item="new"
placeholder="What needs to be done?"
autofocus
/>
</header>
<div class="main" data-item="main">
<input
id="toggle-items"
class="toggle-items"
data-item="toggle-items"
type="checkbox"
/>
<label for="toggle-items">Mark all as complete</label>
<ul class="item-list" data-item="list"></ul>
</div>
<footer class="footer" data-item="footer">
<span class="item-count" data-item="count">
<strong>0</strong> items left
</span>
<ul class="filters" data-item="filters">
<li>
<a class="selected" href="#/">All</a>
</li>
<li>
<a href="#/active">Active</a>
</li>
<li>
<a href="#/completed">Completed</a>
</li>
</ul>
<button class="clear-completed" data-item="clear-completed">
Clear completed
</button>
</footer>
</div>
<div class="info">
<p>Double-click to edit</p>
</div>
<script type="module" src="/javascripts/app.js"></script>
</body>
</html>