-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (55 loc) · 2.77 KB
/
index.html
File metadata and controls
56 lines (55 loc) · 2.77 KB
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">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>to do App</title>
<link rel="stylesheet" href="style.css">
<script src="app.js" defer></script>
</head>
<body>
<h1>to do App</h1>
<div class="wrapper">
<form>
<input id="todo-input"type="text" placeholder="write anything and hit enter to add" autocomplete="off">
<button id="add-button">ADD</button>
</form>
<ul id="todo-list">
<li class="todo">
<input type="checkbox" id="todo-1">
<label class="custom-checkbox" for="todo-1">
<svg fill="transparent"xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="#000000">
<path d="M389-267 195-460l51-52 143 143 325-324 51 51-376 375Z" />
</svg>
</label>
<label for="todo-1" class="todo-text">
webdev project with html, css and js
</label>
<button class="delete-button">
<svg fill="var(--secondary-color)"xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="#000000">
<path
d="M312-144q-29.7 0-50.85-21.15Q240-186.3 240-216v-480h-48v-72h192v-48h192v48h192v72h-48v479.57Q720-186 698.85-165T648-144H312Zm336-552H312v480h336v-480ZM384-288h72v-336h-72v336Zm120 0h72v-336h-72v336ZM312-696v480-480Z" />
</svg>
</button>
</li>
<li class="todo">
<input type="checkbox" id="todo-2">
<label class="custom-checkbox" for="todo-2">
<svg fill="transparent"xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="#000000">
<path d="M389-267 195-460l51-52 143 143 325-324 51 51-376 375Z" />
</svg>
</label>
<label for="todo-2" class="todo-text">
webdev project with html, css and js
</label>
<button class="delete-button">
<svg fill="var(--secondary-color)"xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="#000000">
<path
d="M312-144q-29.7 0-50.85-21.15Q240-186.3 240-216v-480h-48v-72h192v-48h192v48h192v72h-48v479.57Q720-186 698.85-165T648-144H312Zm336-552H312v480h336v-480ZM384-288h72v-336h-72v336Zm120 0h72v-336h-72v336ZM312-696v480-480Z" />
</svg>
</button>
</li>
</ul>
</div>
</body>
</html>