-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
53 lines (50 loc) · 1.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="style.css" rel="stylesheet" />
<link
href="https://fonts.googleapis.com/css?family=Sen&display=swap"
rel="stylesheet"
/>
<title>To do list</title>
</head>
<body>
<main>
<div class="form-list">
<h1>To-do list</h1>
<ul class="list"></ul>
<form>
<input
type="text"
id="todo-item"
name="todo-item"
aria-label='Write a to do here'
placeholder="Write a to do here"
autocomplete="off"
/>
<button type="submit" class="add" aria-label="add to do item">
Add
</button>
</form>
</div>
<div class='radio-buttons'>
<input type='radio' class='all' name='filter' id='all' checked>
<label for='all'>Show all</label>
<input type='radio' class='all' name='filter' id='filter'>
<label for='filter'>Show to-dos</label>
</div>
<template id="todoTemplate">
<li class="todo">
<input class="todo__checkbox" type="checkbox" name="" id="" />
<label class="todo__text" for=""></label>
<button class="todo__delete" aria-label="delete item">Remove</button>
</li>
</template>
<script src="script.js"></script>
<script src="tests/test-helpers.js"></script>
<script src="tests/script-test.js"></script>
</main>
</body>
</html>