-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
80 lines (71 loc) · 2.3 KB
/
index.html
File metadata and controls
80 lines (71 loc) · 2.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css"
/>
<script src="https://cdn.jsdelivr.net/npm/flatpickr"></script>
<link rel="stylesheet" href="style.css" />
<script src="index.js"></script>
<title>To Do List</title>
</head>
<body class="light-mode">
<div class="container-xl">
<header class="text-white p-5">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 text-center">
<img
id="todoImage"
src="images/todoWhite.png"
alt=""
style="height: 70px; margin-bottom: 20px"
/>
<h1 class="text text-center">To-Do List</h1>
<input type="checkbox" id="modeToggle" class="mode-toggle">
</div>
</div>
</div>
</header>
<div class="container main mt-3">
<h2 class="text-center mb-4">Add Items</h2>
<label
id="lblsuccess"
class="text-success"
style="display: none"
></label>
<form id="addForm" class="main_form">
<input
type="text"
onkeyup="toggleButton(this, 'submit')"
id="item"
placeholder="Write your task here"
/>
<input type="text" id="dueDate" placeholder="Due Date" />
<input
type="submit"
class="form_btn"
id="submit"
value="Submit"
disabled
/>
</form>
<div class="text-center">
<h3 class="mt-4 text-center" id="heading-tasks">Tasks</h3>
<form id="addForm">
<ul class="list-group" id="items"></ul>
</form>
</div>
</div>
</div>
</body>
</html>