-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (44 loc) · 2.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/643f8e5097.js" crossorigin="anonymous"></script>
<title>Todo App</title>
</head>
<body>
<div class="container mt-4">
<div class="row offset-3">
<div class="col-8 bg-warning p-4 rounded shadow">
<form action="" class="mx-auto">
<div class="form-group">
<input type="text" class="form-control todoInput" placeholder="Enter a todo here....">
</div>
<div class="form-group">
<input type="hidden" class="form-control w-25 saveIndex mt-2">
</div>
<button type="button" class="btn btn-primary addBtn mt-2">Add <i class="fa fa-plus"></i></button>
<button type="button" class="btn btn-success mt-2 saveBtn" style="display: none;">Save <i
class="fa fa-save"></i></button>
</div>
</div>
</div>
<div class="container mt-4">
<div class="row offset-2">
<div class="col-10">
<table class="table table-striped table-responsive-lg text-center">
<tr>
<th>S/N</th>
<th class="bg-primary">Todos</th>
<th>Action</th>
</tr>
<tbody id="display"></tbody>
</table>
</div>
</div>
</div>
<script type="module" src="./js/main.js"></script>
</body>
</html>