-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
81 lines (66 loc) · 2.45 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>To Do List App</title>
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<style>
.green {
color: lightgreen
}
.red {
color: lightcoral
}
.blue {
color: skyblue
}
.list-group {
font-size: 1.5rem;
}
.show {
display: block;
}
.hide {
display: none;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col mx-auto col-md-8 mt-3 text-center">
<div class="alert align-items-center" id="message"></div>
<form id="itemForm">
<h3 class="">TO DO LIST</h3>
<div class="input-group mb-3">
<input type="text" class="form-control" id="itemInput" value=""
placeholder="Please enter a task....">
<button class="btn btn-outline-primary">ADD ITEM</button>
</div>
</form>
<ul class="nav nav-tabs">
<li class="nav-item" data-type="all">
<a class="nav-link active" href="#">All</a>
</li>
<li class="nav-item" data-type="todo">
<a class="nav-link" href="#">To Do</a>
</li>
<li class="nav-item" data-type="done">
<a class="nav-link" href="#">Completed</a>
</li>
</ul>
<ul class="list-group list-group-flush" id="itemsList">
<!-- Use javascript to diplay list items here-->
</ul>
<input type="hidden" id="objIndex" value="">
<input type="hidden" id="tabValue" value="all">
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>