-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (31 loc) · 1.26 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
name="viewport">
<meta content="ie=edge" http-equiv="X-UA-Compatible">
<link rel="stylesheet" href="./style.css">
<script src="./script.js" defer></script>
<title>Список задач</title>
</head>
<body>
<h1 class="title">Список задач</h1>
<main class="todo-list">
<div class="actions">
<input class="task-input" type="text" onkeypress="handleKeyPress(event)" />
<button class="btn" onclick="addTask()">Создать</button>
</div>
<div class="status">
<button class="btn" id="all" onclick="renderTasks('all')">Все</button>
<button class="btn" id="completed" onclick="renderTasks('completed')">Выполненные</button>
<button class="btn" id="uncompleted" onclick="renderTasks('uncompleted')">Невыполненные</button>
</div>
<ul class="list">
<li class="list-item list-item_done">Сделать домашку</li>
<li class="list-item" id="second-item">Повторить</li>
<li class="list-item">Купить молоко</li>
</ul>
</main>
</body>
</html>