-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
259 lines (259 loc) · 8.3 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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>ToDo</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<link href="./style.css" rel="stylesheet" />
<link rel="icon" href="./Images/ToDolist_icon.png" />
</head>
<body>
<nav
id="navbar-example2"
class="navbar px-3 mb-3 fixed-top"
style="background-color: #e3f2fd"
>
<a class="navbar-brand" href="index.html">ToDo-List</a>
<ul class="nav nav-pills">
<li class="nav-item">
<a class="nav-link" href="#scrollspyHeading1">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#scrollspyHeading2">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#scrollspyHeading3">Contact Us</a>
</li>
</ul>
</nav>
<div
data-bs-spy="scroll"
data-bs-target="#navbar-example2"
data-bs-root-margin="0px 0px -40%"
data-bs-smooth-scroll="true"
class="container scrollspy-example custom-margin"
tabindex="0"
>
<h2
class="text-center bg-body-secondary p-3 rounded-2"
id="scrollspyHeading1"
>
To-Do List
</h2>
<div class="mb-3">
<label for="task" class="form-label">Task</label>
<input
type="text"
class="form-control"
id="task"
aria-describedby="textHelp"
/>
<div id="textHelp" class="form-text">Add your Task.</div>
</div>
<div class="mb-3">
<label for="description" class="form-label">Description</label>
<textarea class="form-control" id="description" rows="3"></textarea>
</div>
<button type="submit" class="btn btn-primary" id="add-to-list">
Add to your List
</button>
<button
type="submit"
class="btn btn-primary"
id="clear-list"
onclick="clearlist()"
>
Clear List
</button>
<div class="items my-4 bg-body-tertiary p-3 rounded-2">
<h2>Your Items</h2>
</div>
<table class="table table-striped">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Item Task</th>
<th scope="col">Item Description</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody id="table-contents"></tbody>
</table>
<div>
<h2
class="text-center my-5 bg-body-secondary p-3 rounded-2"
id="scrollspyHeading2"
>
About
</h2>
<h2 class="text-center">
<div class="row row-cols-1 row-cols-md-3">
<div class="card custom-padding">
<img
src="./Images/img_1.jpg"
class="card-img-top"
alt="Error Loading Image"
/>
<div class="card-body bg-body-secondary">
<h5 class="card-title">Freelancing</h5>
<p class="card-text">
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Excepturi nihil obcaecati nulla!
</p>
<button class="btn btn-primary">
<a class="nav-link" href="#scrollspyHeading3"
>Contact Us Now!</a
>
</button>
</div>
</div>
<div class="card custom-padding">
<img
src="./Images/img_2.jpg"
class="card-img-top"
alt="Error Loading Image"
/>
<div class="card-body bg-body-secondary">
<h5 class="card-title">Coding</h5>
<p class="card-text">
Lorem ipsum, dolor sit amet consectetur adipisicing elit.
Doloribus fugit atque tenetur.
</p>
<button class="btn btn-primary">
<a class="nav-link" href="#scrollspyHeading3"
>Contact Us Now!</a
>
</button>
</div>
</div>
<div class="card custom-padding">
<img
src="./Images/img_3.jpg"
class="card-img-top"
alt="Error Loading Image"
/>
<div class="card-body bg-body-secondary">
<h5 class="card-title">Development</h5>
<p class="card-text">
Lorem ipsum dolor sit amet consectetur adipisicing elit.
Architecto libero dolorem jsutoad sukna.
</p>
<button class="btn btn-primary">
<a class="nav-link" href="#scrollspyHeading3"
>Contact Us Now!</a
>
</button>
</div>
</div>
</div>
</h2>
</div>
<div>
<h2
class="text-center my-5 bg-body-secondary p-3 rounded-2"
id="scrollspyHeading3"
>
Contact Us
</h2>
<h2 class="text-center">
<form>
<div class="mb-3">
<div class="row g-3">
<div class="col">
<input
type="text"
class="form-control"
placeholder="First name"
aria-label="First name"
/>
</div>
<div class="col">
<input
type="text"
class="form-control"
placeholder="Last name"
aria-label="Last name"
/>
</div>
</div>
</div>
<div class="mb-3">
<div class="row g-3">
<div class="col">
<input
type="email"
class="form-control"
placeholder="Email-id"
aria-label="emailHelp"
/>
</div>
<div class="col">
<input
type="number"
class="form-control"
placeholder="Phone Number"
aria-label="phonenumber"
/>
</div>
</div>
</div>
<div class="mb-3">
<textarea
type="text"
class="form-control"
id="exampleFormControlTextarea1"
placeholder="Question"
rows="3"
></textarea>
</div>
<button
type="submit"
class="btn btn-primary"
onclick="confirm_submit()"
>
Submit
</button>
</form>
</h2>
</div>
</div>
<footer class="py-3 custom-margin-footer bg-body-secondary">
<ul class="nav justify-content-center border-bottom pb-3 mb-3">
<li class="nav-item">
<a href="#scrollspyHeading1" class="nav-link px-2 text-muted">Home</a>
</li>
<li class="nav-item">
<a href="#scrollspyHeading2" class="nav-link px-2 text-muted"
>About</a
>
</li>
<li class="nav-item">
<a href="#" class="nav-link px-2 text-muted">FAQs</a>
</li>
<li class="nav-item">
<a href="#scrollspyHeading3" class="nav-link px-2 text-muted"
>Contact</a
>
</li>
</ul>
<p class="text-center text-muted">© 2023 Company, Inc</p>
</footer>
<script src="./index.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"
></script>
</body>
</html>