-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
41 lines (38 loc) · 1.56 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
<!DOCTYPE html>
<html>
<head>
<title>TODO App</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="./styles.css" />
</head>
<body>
<div class="container center">
<h1 class="center title">My TODO App</h1>
<div class="flow-right controls">
<span>Item count: <span id="item-count">0</span></span>
<span>Unchecked count: <span id="unchecked-count">0</span></span>
</div><br>
<center><h3> Add Todo Here: </h3></center>
<input name = "new-item" id = "todo-input" placeholder="Add item, press <Enter> ... repeat" required> </input>
<button hidden id="btn" class="button center" onClick="newTodo()">New TODO</button>
<div id = "fadeContainer">
<div id="successContainer">
<div id="successMessage">
New to-do item added!
</div>
</div>
<div id="deleteContainer">
<div id="deleteMessage">
Item deleted!
</div>
</div>
</div>
<ul id="todo-list" class="list-group"></ul>
<!-- <div id="samlist"> samlist sam
</div> -->
</div>
<!-- Test of delete image -->
<!-- <input type="image" name="delete-btn" src="./a.png" alt="Delete this item!" title="Delete this item!" style="height:25px;width:25px;"> -->
<script type="text/javascript" src="./script.js"></script>
</body>
</html>