-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtodo.html
47 lines (40 loc) · 1.22 KB
/
todo.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Todo list example</title>
<style>
li {
margin-bottom: 10px;
}
li button {
font-size: 8px;
margin-left: 20px;
color: #666;
}
</style>
</head>
<body>
<h1>My Todo list</h1>
<div>
<label id="item-label" for="item">Enter a item:</label>
<input id="edit-item-id" type="hidden" >
<input type="text" name="item" id="todo-task">
<select name="todo-status" id="todo-status">
<option value=""></option>
<option value="1">IMCOMPLETE</option>
<option value="2">PROGRESS</option>
<option value="3">PENDING</option>
<option value="4">COMPLETE</option>
</select>
<button id="submit-button">Add item</button>
<button id="cancel-button">Cancel</button>
</div>
<ul></ul>
<!-- JavaScript -->
<script src="https://www.gstatic.com/firebasejs/9.6.7/firebase-app-compat.js"></script>
<script src="https://www.gstatic.com/firebasejs/9.6.7/firebase-firestore-compat.js"></script>
<script type="module" src="/todo.js"></script>
</body>
</html>