-
Notifications
You must be signed in to change notification settings - Fork 110
/
index.html
69 lines (69 loc) · 1.96 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Template • TodoMVC</title>
<!-- TodoMVC Boilerplate CSS files -->
<link rel="stylesheet" href="css/index.css" />
</head>
<body>
<section class="todoapp">
<header class="header">
<h1>todos</h1>
<input
placeholder="What needs to be done?"
autofocus
class="new-todo"
data-todo="new"
/>
</header>
<!-- This section should be hidden by default and shown when there are todos -->
<section class="main" data-todo="main">
<input
id="toggle-all"
class="toggle-all"
type="checkbox"
data-todo="toggle-all"
/>
<label for="toggle-all">Mark all as complete</label>
<ul class="todo-list" data-todo="list"></ul>
</section>
<!-- This footer should be hidden by default and shown when there are todos -->
<footer class="footer" data-todo="footer">
<!-- This should be `0 items left` by default -->
<span class="todo-count" data-todo="count"
><strong>0</strong> items left</span
>
<!-- Remove this if you don't implement routing -->
<ul class="filters" data-todo="filters">
<li>
<a class="selected" href="#/">All</a>
</li>
<li>
<a href="#/active">Active</a>
</li>
<li>
<a href="#/completed">Completed</a>
</li>
</ul>
<!-- Hidden if no completed items are left ↓ -->
<button class="clear-completed" data-todo="clear-completed">
Clear completed
</button>
</footer>
</section>
<footer class="info">
<p>Double-click to edit a todo</p>
<p>Created by <a href="https://twitter.com/1Marc">Marc Grabanski</a></p>
<p>
Project on GitHub:
<a href="https://github.com/1Marc/todomvc-vanillajs-2022"
>Vanilla JS TodoMVC 2022</a
>
</p>
</footer>
<!-- Scripts here. Don't remove ↓ -->
<script type="module" src="js/app.js"></script>
</body>
</html>