-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
493 lines (407 loc) · 24.5 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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
<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-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<title>Net Ninja Pro Book</title>
<style>
section
{
padding: 60px 0;
}
</style>
</head>
<body>
<!--nav bar-->
<nav class="nav-bar navbar-expand-md navbar-light">
<div class="container-xxl">
<a href="#intro" class="navbar-brand">
<span class="fw-bold text-secondary">
<i class="bi bi-book-half"></i>
Net Nija Pro-the Book
</span>
</a>
<!--toggle button for mobile veiw-->
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#main-nav" aria-controls="main-nav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<!--navbar links-->
<div class="collapse navbar-collapse justify-content-end align-center"
id="main-nav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#topics"> About The Books</a>
</li>
<li class="nav-item">
<a href="#reviews" class="nav-link">reviews</a>
</li>
<li class="nav-item">
<a href="#contact" class="nav-link">Get In Touch</a>
</li>
<li class="nav-item d-md-none">
<a href="#pricing" class="nav-link">pricing</a>
</li>
<li class="nav-item ms-2 d-none d-md-inline">
<a href="#pricing" class="btn btn-success">buy now</a>
</li>
</ul>
</div>
</div>
</nav>
<!--main image and intro section-->
<section id="intro" >
<div class = "container-lg">
<div class = "row justify-content-center align-items-center">
<div class = "col-md-5 text-center text-md-start">
<h1>
<div class = "display-2">Black Belt</div>
<div class = "display-5 text-muted"> Your Coding Skills</div>
</h1>
<p>one's happiness is not measured by the amount of money he/she has , instead it is measured by how much he or she enjoys what he or she has</p>
<a href = "#pricing" class = "btn btn-success btn-lg"> buy now</a>
<!--open sidebas / offconvas-->
<a href="#sidebar" class="d-block mt-3" data-bs-toggle="offcanvas" role="button" aria-controls="sidebar" >
Explore My Other Book
</a>
</div>
<div class = "col-md-5 text-center d-none d-md-block">
<!-- tooltip-->
<span class="tt" data-bs-placement="bottom" title="Net Ninja Book Cover">
<img class = "img-fluid" src = "assets/ebook-cover.png" alt="ebook cover">
</span>
</div>
</div>
</div>
</section>
<!--pricing plans-->
<section id="pricing" class="bg-light" mt-5>
<div class="container-lg">
<div class="text-center">
<h2>pricing plans</h2>
<p class="lead-text-center text-capitalize">choose a pricing plan to suit you </p>
</div>
<div class="row my-5 align-items-center justify-content-center g-0" >
<div class="col-8 col-ld4 col-xl-3">
<div class="card border-0">
<div class="card-body text-center py-4">
<h4 class="card-title">Starter Edition</h4>
<p class=" lead card-subtitle">eBook download only</p>
<p class="display-5 my-4 text-primary fw bold">$12.99</p>
<p class="card-text mx-5 text-muted d none d-lg-block">Lorem ipsum dolor sit amet consectetur adipisicing elit. Modi temporibus suscipit minus qui eveniet vel corporis optio. In nulla minima odit voluptatibus fuga asperiores nisi nesciunt magnam. Explicabo, obcaecati excepturi.</p>
<a href="#" class="btn btn-outline-primary btn-lg mt-3">Buy Now</a>
</div>
</div>
</div>
<div class="col-9 col-lg-4">
<div class="card border-primary border-2">
<div class="card-header text-center text-primary">Most popular</div>
<div class="card-body text-center py-5">
<div class="card-title">Complete edition</div>
<div class="lead-card-subtitle">eBook download & all updates</div>
<p class="display-4 my-4 text-primary fw-bold">$18.99</p>
<p class="card-text mx-5 text-mutedd none d-lg-block">Lorem ipsum dolor sit amet consectetur adipisicing elit. Quisquam amet aspernatur ullam aperiam distinctio autem, labore exercitationem aliquam eum nihil officia, consectetur voluptatum deserunt pariatur nam? Nulla explicabo nesciunt sed.</p>
<a href="#" class="btn btn-outline-primary btn-lg mt-3">Buy Now</a>
</div>
</div>
</div> <div class="col-8 col-ld4 col-xl-3">
<div class="card border-0">
<div class="card-body text-center py-4">
<h4 class="card-title">Ultimate Edition</h4>
<p class=" lead card-subtitle"> download ,Update&Extras</p>
<p class="display-5 my-4 text-primary fw bold">$24.99</p>
<p class="card-text mx-5 text-muted d none d-lg-block">Lorem ipsum dolor sit amet consectetur adipisicing elit. Modi temporibus suscipit minus qui eveniet vel corporis optio. In nulla minima odit voluptatibus fuga asperiores nisi nesciunt magnam. Explicabo, obcaecati excepturi.</p>
<a href="#" class="btn btn-outline-primary btn-lg mt-3">Buy Now</a>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--topics at glance-->
<section id="topics">
<div class="conatainer-md">
<div class="text-center">
<h2>Inside the Book...</h2>
<p class="lead text-muted"> A quik glance at the topics you will learn</p>
</div>
<div class="row my-5 g-5 justify-content-around align-items-center">
<div class="col-6 col-lg-4">
<img src="assets/kindle.png" class="img-fluid" alt="ebook">
</div>
<div class="col-lg-6">
<!--accordion-->
<div class="accordion" id="chapters">
<div class="accordion-item">
<h2 class="accordion-header" id="heading-1">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#chapter-1" aria-expanded="true" aria-controls="chapter-1">Your First Web Page</button>
</h2>
<div id="chapter-1" class="accordion-collapse collapse show"
aria-labelledby="heading-1" data-bs-parent="#chapters">
<div class="accordion-body">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Nihil placeat consectetur porro cum iusto quasi, quos quae. Nesciunt odit accusamus ducimus. Nam facilis ullam aliquam nesciunt velit laborum consectetur tenetur?</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Minima cum obcaecati non inventore molestiae nostrum dicta perferendis cupiditate delectus enim voluptas ut culpa modi accusamus tenetur, laudantium unde. Eligendi, nobis.</p>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="heading-2">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#chapter-2" aria-expanded="false" aria-controls="chapter-2"> Chapter-2 Mastering CSS</button>
</h2>
<div id="chapter-2" class="accordion-collapse collapse "
aria-labelledby="heading-2" data-bs-parent="#chapters">
<div class="accordion-body">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Nihil placeat consectetur porro cum iusto quasi, quos quae. Nesciunt odit accusamus ducimus. Nam facilis ullam aliquam nesciunt velit laborum consectetur tenetur?</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Minima cum obcaecati non inventore molestiae nostrum dicta perferendis cupiditate delectus enim voluptas ut culpa modi accusamus tenetur, laudantium unde. Eligendi, nobis.</p>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="heading-3">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#chapter-3" aria-expanded="true" aria-controls="chapter-3"> Chapter-3 The Power of JavaScript</button>
</h2>
<div id="chapter-3" class="accordion-collapse collapse "
aria-labelledby="heading-3" data-bs-parent="#chapters">
<div class="accordion-body">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Nihil placeat consectetur porro cum iusto quasi, quos quae. Nesciunt odit accusamus ducimus. Nam facilis ullam aliquam nesciunt velit laborum consectetur tenetur?</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Minima cum obcaecati non inventore molestiae nostrum dicta perferendis cupiditate delectus enim voluptas ut culpa modi accusamus tenetur, laudantium unde. Eligendi, nobis.</p>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="heading-4">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#chapter-4" aria-expanded="false" aria-controls="chapter-4">Chapter-4 storing Data (firebase Database)</button>
</h2>
<div id="chapter-4" class="accordion-collapse collapse "
aria-labelledby="heading-4" data-bs-parent="#chapters">
<div class="accordion-body">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Nihil placeat consectetur porro cum iusto quasi, quos quae. Nesciunt odit accusamus ducimus. Nam facilis ullam aliquam nesciunt velit laborum consectetur tenetur?</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Minima cum obcaecati non inventore molestiae nostrum dicta perferendis cupiditate delectus enim voluptas ut culpa modi accusamus tenetur, laudantium unde. Eligendi, nobis.</p>
</div>
</div>
</div>
<div class="accordion-item">
<h2 class="accordion-header" id="heading-5">
<button class="accordion-button" type="button" data-bs-toggle="collapse"
data-bs-target="#chapter-5" aria-expanded="false" aria-controls="chapter-5">Chapter-5 User Authentication</button>
</h2>
<div id="chapter-5" class="accordion-collapse collapse "
aria-labelledby="heading-5" data-bs-parent="#chapters">
<div class="accordion-body">
<p>Lorem ipsum dolor, sit amet consectetur adipisicing elit. Nihil placeat consectetur porro cum iusto quasi, quos quae. Nesciunt odit accusamus ducimus. Nam facilis ullam aliquam nesciunt velit laborum consectetur tenetur?</p>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Minima cum obcaecati non inventore molestiae nostrum dicta perferendis cupiditate delectus enim voluptas ut culpa modi accusamus tenetur, laudantium unde. Eligendi, nobis.</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- reviews list-->
<section id="reviews" class="bg-light">
<div class="container-lg">
<div class="text-center">
<h2> <i class="bi bi-stars"></i>Book Reviews</h2>
<p class="lead">What People said about the book...</p>
</div>
<div class="row justify-content-center my-5">
<div class="col-lg-8">
<div class="list-group">
<div class="list-group py-3">
<div class="pb-2">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
</div>
<h5 class="mb-1"> A must buy for every web dev</h5>
<p class="mb-1">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Eum explicabo corrupti rem eaque reprehenderit nisi. Eum, nemo pariatur hic, corrupti aliquam at modi, maxime blanditiis rem numquam corporis iure alias?</p>
<small>Review by Acushla</small>
</div>
<div class="list-group py-3">
<div class="pb-2">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
</div>
<h5 class="mb-1"> A must buy for every web dev</h5>
<p class="mb-1">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Eum explicabo corrupti rem eaque reprehenderit nisi. Eum, nemo pariatur hic, corrupti aliquam at modi, maxime blanditiis rem numquam corporis iure alias?</p>
<small>Review by Acushla</small>
</div>
<div class="list-group py-3">
<div class="pb-2">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
</div>
<h5 class="mb-1"> A must buy for every web dev</h5>
<p class="mb-1">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Eum explicabo corrupti rem eaque reprehenderit nisi. Eum, nemo pariatur hic, corrupti aliquam at modi, maxime blanditiis rem numquam corporis iure alias?</p>
<small>Review by Acushla</small>
</div>
<div class="list-group py-3">
<div class="pb-2">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
</div>
<h5 class="mb-1"> A must buy for every web dev</h5>
<p class="mb-1">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Eum explicabo corrupti rem eaque reprehenderit nisi. Eum, nemo pariatur hic, corrupti aliquam at modi, maxime blanditiis rem numquam corporis iure alias?</p>
<small>Review by Acushla</small>
</div>
<div class="list-group py-3">
<div class="pb-2">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-half"></i>
</div>
<h5 class="mb-1"> A must buy for every web dev</h5>
<p class="mb-1">Lorem ipsum dolor, sit amet consectetur adipisicing elit. Eum explicabo corrupti rem eaque reprehenderit nisi. Eum, nemo pariatur hic, corrupti aliquam at modi, maxime blanditiis rem numquam corporis iure alias?</p>
<small>Review by Acushla</small>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!--contact form-->
<section id="contact">
<div class="container-lg">
<div class="text-center">
<h2>Get in touch</h2>
<p class="lead">Question to ask? Fill out the form to contact me directly..</p>
<div class="row justify-content-center">
<div class="col-lg-6">
<form >
<label for="email" class="form-label">Email address:</label>
<div class="mb-4 input-group">
<span class="input-group-text">
<i class="bi bi-person-fill"></i>
</span>
<input type="email" class="form-control" id="email" placeholder="e.g. [email protected]">
<!--Tool tip-->
<span class="input-group-text">
<span class="tt" data-bs-placement="bottom" title="enter an email address we can reply to">
<i class="bi bi-question-circle text-muted "></i>
</span>
</span>
</div>
<label for="name" class="form-label"> name:</label>
<div class="input-group mb-4">
<span class="input-group-text">
<i class="bi bi-chat-right-fill"></i>
</span>
<input type="text" class="form-control" id="name" placeholder="e.g name">
<!--Tool Tip-->
<span class="input-group-text">
<span class="tt" data-bs-placement="bottom" title="pretty self explanatory really..">
<i class="bi bi-question-circle text-muted"></i>
</span>
</span>
</div>
<label for="subject" class="form-label" > What is your question about?</label>
<div class="input-group mb-4">
<span class="input-group-text">
<i class="bi bi-chat-right-fill"></i>
</span>
<select class="form-select" id="subject">
<option value="pricing" selected>pricing query</option>
<option value="content"> Content query</option>
<option value="other"> Other query</option>
</select>
</div>
<div class="form-floating mb-4 mt-5">
<textarea id="query" class="form-control" style="height: 140px" cols="30" rows="10"></textarea>
<label for="query" class="form-label">Your query...</label>
</div>
<div class="mb-4 tect-center">
<button type="submit" class="btn btn-outline-primary"> Submit</button>
</div>
</form>
</div>
</div>
</div>
</div>
</section>
<!--get updates/model trigger-->
<section class="bg-light">
<div class="container">
<div class="text center">
<h2>Stay in the Loop</h2>
<p class="lead">get the latest update as may happen</p>
</div>
<div class="row justify-content-center">
<div class="col-md-8 text-center">
<p class="text-muted my-4">Lorem ipsum dolor sit amet, consectetur adipisicing elit. Impedit atque quia voluptate sint accusamus ipsa eveniet suscipit cum placeat tempora distinctio eligendi, dicta, itaque nostrum. Debitis atque expedita fuga tempore.</p>
<button class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#reg-modal">
Resgister for Updates
</button>
</div>
</div>
</div>
</section>
<!--model itself-->
<div class="modal fade" id="reg-modal" tabindex="-1" aria-labelledby="modal-title" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<h5 class="modal-header"> Get The Latest Updates </h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close "></button>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Excepturi optio unde, cupiditate, accusamus consequuntur nam, voluptate corrupti sit voluptatum obcaecati repellat nostrum repellendus incidunt ullam? Amet sequi dolorem dolore quod!</p>
<label for="modal-email" class="form-label"> your email address:</label>
<input type="email" class="form-control" id="modal-email" placeholder=" e.g : [email protected] ">
</div>
<div class="modal-footer">
<button class="btn btn-primary"> submit </button>
</div>
</div>
</div>
</div>
<!--offconvas-->
<div class="offcanvas offcanvas-start" tabindex="-1" id="sidebar" aria-labelledby="sidebar-label">
<div class="offcanvas-header">
<h5 class="offcanvas-title " id="sidebar-label">My Other Books</h5>
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="close"></button>
</div>
<div class="offcanvas-body">
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Delectus debitis iste, dolorum sit quo unde. Ex, delectus magni.
Laboriosam libero quod distinctio repellendus omnis. Est perspiciatis possimus totam enim facere!</p>
<!--dropdown-->
<div class="dropdown mt-3">
<button class="btn btn-secondary dropdown-toggle" type="button" id="book-dropdown" data-bs-toggle="dropdown">
Choose a book title
</button>
<ul class="dropdown-menu" aria-labelledby="book-dropdown">
<li><a href="#" class="dropdown-item"> Become a react superhero</a></li>
<li><a href="#" class="dropdown-item"> conquering vue.js</a></li>
<li><a href="#" class="dropdown-item"> Leveling up your next .js</a></li>
</ul>
</div>
</div>
</div>
<script src = "https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<script>
const tooltips = document.querySelectorAll('.tt')
tooltips.forEach(t =>{
new bootstrap.Tooltip(t)
})
</script>
</body>
</html>