-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
56 lines (54 loc) · 2.02 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<!-- <link rel="icon" type="image/svg+xml" href="/vite.svg" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>My List</title>
<link rel="stylesheet" href="src/css/style.css">
<script type="module" src="/src/main.ts"></script>
</head>
<body>
<main>
<h1 class="offscreen">My List</h1>
<section class="newItemEntry">
<h2 class="offscreen">New Item Entry</h2>
<form class="newItemEntry__form" id="itemEntryForm">
<label for="newItem" class="offscreen">Enter a new to do item</label>
<input class="newItemEntry__input" id="newItem" type="text" maxlength="40" autocomplete="off"
placeholder="Add item" />
<button id="addItem" class="button newItemEntry__button" title="Add new item" aria-label="Add new item to list">
+
</button>
</form>
</section>
<section class="listContainer">
<header class="listTitle">
<h2 id="listName">List</h2>
<button id="clearItemsButton" class="button listTitle__button" title="Clear the list"
aria-label="Remove all items from the list">
Clear
</button>
</header>
<hr />
<ul id="listItems">
<!-- <li class="item">
<input type="checkbox" id="1">
<label for="1">eat</label>
<button class="button">X</button>
</li>
<li class="item">
<input type="checkbox" id="2">
<label for="2">sleep</label>
<button class="button">X</button>
</li>
<li class="item">
<input type="checkbox" id="3">
<label for="3">code</label>
<button class="button">X</button>
</li> -->
</ul>
</section>
</main>
</body>
</html>