-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (48 loc) · 1.57 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css">
<link rel="stylesheet" href="style.css">
<title>My Task List</title>
</head>
<body>
<div class="container p-3">
<h1 class="app-title" id="header">To Do App</h1>
<div class="card">
<div class="card-header">
New Task
</div>
<div class="card-body">
<form id="addTaskForm">
<div class="input-group mb-3">
<input id="txtTaskName" name="taskName" type="text" class="form-control" placeholder="Type a new task" aria-describedby="btnAddNewTask">
<div class="input-group-append">
<button class="btn btn-primary" type="submit" id="btnAddNewTask">
<i class="fas fa-plus"></i>
</button>
</div>
</div>
</form>
</div>
</div>
<div class="card mt-3">
<div class="card-header">
Task List
<a id="btnDeleteAll" href="#" class="btn btn-outline-danger btn-sm delete-all float-right">
Delete All
</a>
</div>
<ul id="task-list" class="list-group">
</ul>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
<script src="script.js"></script>
</body>
</html>