-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (42 loc) · 1.32 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>TODO LIST</title>
<!-- Main Css -->
<link rel="stylesheet" href="base.css" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<section class="todoapp">
<header class="header">
<h1>TodoList</h1>
<input
class="new-todo"
placeholder="What needs to be done?"
autofocus
/>
</header>
<!-- This section should be hidden by default and shown when there are todos -->
<section class="main">
<input
id="toggle-all"
class="toggle-all"
type="checkbox"
onchange="toggleAll(this.checked)"
/>
<label for="toggle-all">Mark all as complete</label>
<ul class="todo-list"></ul>
</section>
<!-- This footer should hidden by default and shown when there are todos -->
<div class="footer">
<!-- This should be `0 items left` by default -->
<!-- Hidden if no completed items are left ↓ -->
<button class="clear-completed" onclick="clearAllCompleted()">Clear completed</button>
</div>
</section>
<!-- Script here -->
<script src="index.js"></script>
</body>
</html>