-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
25 lines (25 loc) · 953 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>TODO refactor</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css"
integrity="sha384-Zug+QiDoJOrZ5t4lssLdxGhVrurbmBWopoEl+M6BdEfwnCJZtKxi1KgxUyJq13dy" crossorigin="anonymous">
</head>
<body>
<div class="container">
<h1>To Do List</h1>
<ul id="todos" class="list-group my-2">
</ul>
<form class="form-inline d-inline" id="addForm">
<input id="todoInput" class="form-control" type="text"/>
<button id="addTodo" type="submit" class="btn btn-primary mx-1">Add</button>
</form>
<button id="clearCompleted" class="btn btn-outline-secondary mx-1" style="display: none">
Remove Completed
</button>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
<script src="jquery/todo.js" type="text/javascript"></script>
</body>
</html>