-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
71 lines (68 loc) · 2.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Todo-List</title>
<link rel="stylesheet" href="./css/style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css"
/>
</head>
<body>
<div class="wrapper d-flex justify-content-center align-items-center">
<div
class="to-do border position-relative rounded-3"
style="height: 550px; width: 550px"
>
<!-- main -->
<div class="position-relative">
<h2 class="text-center p-3 time"></h2>
<p class="text-center fs-3" id="day"></p>
<div class="container">
<form onsubmit="handleOnSubmit(this)" action="javascript:void(0)">
<div class="row g-2">
<div class="col-10">
<input
type="text"
class="form-control"
placeholder="Add your task"
aria-label="First name"
name="task"
/>
</div>
<div class="col-2">
<button class="btn btn-dark">+</button>
</div>
</div>
</form>
</div>
<div class="container mt-5">
<table class="table table-striped table-hover">
<tbody class="tableList"></tbody>
</table>
</div>
<p
onclick="handleOnClear()"
class="text-center text-danger position-absolute clearitem"
id="clear"
>
Clear items
</p>
</div>
</div>
</div>
<script src="./js/task-service.js"></script>
<script src="./js/eventHandler.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>