-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
177 lines (177 loc) · 4.7 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!doctype html>
<html class="light" 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" />
<title>ToDo</title>
<link
rel="apple-touch-icon"
sizes="180x180"
href="/img/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/img/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/img/favicon-16x16.png"
/>
<link rel="manifest" href="/img/site.webmanifest" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./src/sass/style.scss" />
</head>
<body class="vw-100 vh-100"></body>
<div class="container-fluid pages position-relative">
<div class="container animate__animated" id="intro_page">
<div class="row">
<section class="mt-2" id="social_icons">
<a
class="fs-1"
href="https://github.com/Silent-Watcher/todoApp"
target="_blank"
><i class="fa-brands fa-github"></i
></a>
</section>
</div>
<div class="row intro">
<section
class="col-6 d-flex flex-column justify-content-center align-items-center"
id="heading_text"
>
<h1 class="user-select-none">
Welcome to<span>ToDo.js</span>
</h1>
<button class="border-0 w-75 fw-bold mt-5" id="start_btn">
let's start
</button>
</section>
<section
class="col-6 d-flex justify-content-start align-items-start"
id="heading_pic"
>
<lottie-player
src="https://assets9.lottiefiles.com/packages/lf20_yrb0rj1c.json"
background="transparent"
speed="1"
style="width: 700px; height: 700px"
loop=""
autoplay=""
></lottie-player>
</section>
</div>
</div>
<div
class="container position-absolute top-0 start-0 end-0 bottom-0"
id="main_page"
hidden
>
<div class="row mt-5">
<header
class="col-12 d-flex justify-content-center"
id="heading_section"
>
<h1 class="user-select-none text-dark">Todo List App</h1>
<button class="border-0 fs-4 bg-transparent">
<i class="fa-solid fa-moon"></i>
</button>
</header>
</div>
<div class="row">
<section id="addTask_section">
<form action="">
<div class="mb-3">
<label class="form-label fs-4" for="taskInput"
>Add Item</label
>
<input
class="form-control fs-5"
id="taskInput"
type="text"
placeholder="task content here ..."
required
autofocus
/>
</div>
</form>
</section>
</div>
<div class="row mt-2">
<section id="action_buttons">
<button class="btn btn-primary" id="addTaskBtn">
Add To List
</button>
<button class="btn btn-danger" id="clearStorageBtn">
Clear Todo List
</button>
</section>
</div>
<div class="row mt-4">
<h3>Todo List</h3>
<main id="tasks_wrapper">
<ul
class="mt-3 d-flex flex-column justify-content-center align-items-center"
id="tasks_list"
>
<div class="noTaskSection text-center">
<p class="fw-bold">no task here !!</p>
<lottie-player
src="https://assets5.lottiefiles.com/packages/lf20_r1gncjwd.json"
background="transparent"
speed="1"
style="width: 300px; height: 300px"
loop=""
autoplay=""
></lottie-player>
</div>
</ul>
</main>
</div>
<section
class="rounded text-center d-flex flex-column align-items-center justify-content-center mt-4"
id="changeTaskContent"
>
<button
class="btn-close align-self-end me-3"
type="button"
aria-label="Close"
></button>
<p class="fs-4">new content</p>
<input
class="border-0 p-2 w-75"
id="newContent"
placeholder="enter a new content..."
/>
<button
class="mt-3 border-0 btn btn-secondary"
id="submit_new_content"
>
change !
</button>
</section>
</div>
</div>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<script type="module" src="src/js/app.js"></script>
</html>