-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (36 loc) · 1.04 KB
/
index.html
File metadata and controls
49 lines (36 loc) · 1.04 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1> Todo List</h1>
<div>
<button onclick="handlers.displayTodos()">Display Todos</button>
<button onclick="handlers.toggleAll()">Toggle All</button>
</div>
<div id='bottom'>
<button onclick="handlers.addTodo()">Add Todo</button>
<input id="addTodoTextInput" type="text">
</div>
<div>
<button onclick="handlers.changeTodo()">
Change Todo
</button>
<input id='changeTodoPositionInput' type='number'>
<input id='changeTodoTextInput' type='text'>
</div>
<div>
<button onclick='handlers.deleteTodo()'>Delete</button>
<input id='deleteTodoPositionInput' type='number'>
</div>
<div>
<button onclick='handlers.toggleCompleted()'>Toggle Completed
</button>
<input id='toggleCompletedPositionInput' type='number'>
</div>
<ul>
</ul>
<script src="script.js"></script>
</body>
</html>