-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (49 loc) · 2.08 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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>ToDo Storage</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="./index.html">Local Storage</a>
</nav>
<div class="content">
<div class="container">
<div class="row">
<div class="col-md-6">
<h1 style="color:gray;">Add todo</h1>
<div class="form-group">
<label for="exampleInputEmail1">Task</label>
<div class="alert alert-danger" id="task_error"></div>
<div class="alert alert-success" id="task_success"></div>
<input type="text" class="form-control" id="task" placeholder="Enter Your Task">
</div>
<button type="submit" class="btn btn-primary" onclick="save_task();">Save</button>
</div>
<div class="col-md-6">
<h1 style="color:gray;">ToDo List</h1>
<table class="table" id="all_tasks">
<thead class="thead-dark">
<tr>
<th scope="col">Task</th>
<th scope="col">Delete</th>
</tr>
</thead>
<tbody id="new_task">
</tbody>
</table>
</div>
</div>
</div>
</div>
<script src="assets/js/jquery-3.3.1.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="./utils/storage.js"></script>
<script src="./utils/CRUD.js"></script>
</body>
</html>