-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
730 lines (671 loc) · 29.2 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
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
<!DOCTYPE html>
<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">
<title>All JS project</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
* {
margin: 0px;
font-family: 'Roboto', sans-serif;
text-transform: capitalize;
}
body {
transition-duration: 1s;
}
.heading {
text-align: center;
font-weight: bold;
font-size: 1.5rem;
display: flex;
justify-content: space-evenly;
align-items: center;
gap: 1rem;
box-shadow: 0px 0.2rem 1rem black;
}
.tital h1{
font-size: 1.6rem;
}
.mode button {
border-radius: 50%;
overflow: hidden;
cursor: pointer;
outline: none;
border: none;
transition-duration: 1s;
}
.mode button img {
display: inline-block;
width: 4rem;
height: 4.5rem;
transition-duration: 1s;
}
.heading input {
padding: 0.5rem;
border-radius: 20px;
}
.container {
padding: 1rem 1.5rem;
display: flex;
gap: 2rem;
justify-content: center;
flex-wrap: wrap;
}
.project {
width: 25rem;
border-radius: 20px;
overflow: hidden;
transition: all 0.3s ease-out;
box-shadow: 6px 6px 7px rgba(2, 3, 3, 0.601);
}
.project:hover {
transform: scale(1.1);
}
.project a {
text-decoration: none;
}
.project a img {
/* border: 1px solid black; */
width: 100%;
height: 13rem;
/* object-fit: cover; */
display: block;
}
.info {
background-image: radial-gradient(circle farthest-corner at 22.4% 21.7%, rgba(4, 189, 228, 1) 0%, rgba(2, 83, 185, 1) 100.2%);
display: flex;
justify-content: space-between;
}
.info h3 {
width: 100%;
text-align: center;
font-size: 1.2rem;
color: black;
font-weight: bold;
margin-top: 0.5rem;
margin-left: 0.5rem;
}
.info div img {
width: 3.5rem;
height: 3.5rem;
margin: auto;
}
footer{
text-align:center;
position: sticky;
bottom: 0px;
background-image: linear-gradient(to right, #8e2de2, #4a00e0);
}
.links , .links a{
font-size: 1.2rem;
color: white;
}
.links {
padding:0.5rem 0px;
}
.black {
background-color: black;
}
@media (max-width:600px) {
.heading {
padding-top: 10px;
font-size: 0.5rem;
}
.mode button img {
width: 3.5rem;
height: 3.5rem;
}
.heading div a img {
width: 3.5rem;
height: 3.5rem;
}
#search{
margin-top: 0.5rem;
}
}
@media (min-width:601px) and (max-width:768px) {
.container {
display: grid;
grid-template-columns: repeat(2, 1fr);
}
.tital h1{
font-size: 1.7rem;
}
.project {
width: 100%;
}
#search{
margin-top: 0.5rem;
}
}
@media (min-width:769px) {
.container {
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.project {
width: 100%;
}
.tital {
display: grid;
gap: 1rem;
place-content: center;
align-content: center;
justify-content: center;
grid-auto-flow: column;
}
}
.white{
color: white;
}
</style>
<link rel="shortcut icon" href="./icons/favicon.ico" type="image/x-icon">
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-G-3QD821S51H"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-261097190-1');
gtag('config', 'G-3QD821S51H');
</script>
</head>
<body class="">
<div class="heading ">
<div class="mode">
<button id="mode" class="black">
<img id="mode-img" src="./icons/sun.png" alt="">
</button>
</div>
<div class="tital">
<h1 id="tital" class="">HTML CSS JS practice projects</h1>
<input id="search" type="search" placeholder="search project">
</div>
<div>
<a href="https://github.com/deepakp626" target="_blank">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
<section>
<div class="container">
<div class="project">
<a href="./34 Currency Converter/index.html" target="_blank">
<img src="./images/34 Currency Converter.png" alt="project img">
<div class="info">
<h3 class="name">Currency Converter </h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/34%20Currency%20Converter">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./33 Dark mode/index.html" target="_blank">
<img src="./images/33 Dark Mode.png" alt="project img">
<div class="info">
<h3 class="name"> Dark Mode</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/33%20Dark%20mode">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./32 Pomodoro Timer/index.html" target="_blank">
<img src="./images/32 Pomodoro Timer.png" alt="project img">
<div class="info">
<h3 class="name">Pomodoro Timer</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/32%20Pomodoro%20Timer">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./31 Calculator/index.html" target="_blank">
<img src="./images/31 Calculator.png" alt="project img">
<div class="info">
<h3 class="name"> Calculator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/31%20Calculator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./30 Form Validation/index.html" target="_blank">
<img src="./images/30 Form validation.png" alt="project img">
<div class="info">
<h3 class="name"> Form Validation</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/30%20Form%20Validation">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./29 Age Calculator/index.html" target="_blank">
<img src="./images/29 Age Calculator.png" alt="project img">
<div class="info">
<h3 class="name">Age Calculator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/29%20Age%20Calculator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./27 random quote generator/index.html" target="_blank">
<img src="./images/27 random quote generator.png" alt="project img">
<div class="info">
<h3 class="name">random quote generator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/27%20random%20quote%20generator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./26 Random Linear Gradient/index.html" target="_blank">
<img src="./images/26 Random Linear Gradient.png" alt="project img">
<div class="info">
<h3 class="name">Random Linear Gradient</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/26%20Random%20Linear%20Gradient">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./25 CSS Box Shadow/index.html" target="_blank">
<img src="./images/25 box Shadow.png" alt="project img">
<div class="info">
<h3 class="name">CSS box Shadow</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/25%20CSS%20Box%20Shadow">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./24 Speed Reader/index.html" target="_blank">
<img src="./images/24 Speed Reader.png" alt="project img">
<div class="info">
<h3 class="name">Speed Reader</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/24%20Speed%20Reader">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./23 BMI calculator/index.html" target="_blank">
<img src="./images/23 BMI calculator.png" alt="project img">
<div class="info">
<h3 class="name">BMI calculator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/23%20BMI%20calculator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./22 Tip calculator/index.html" target="_blank">
<img src="./images/22 Tip calculation.png" alt="project img">
<div class="info">
<h3 class="name">Tip calculation</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/22%20Tip%20calculator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./20 Stop Watch/index.html" target="_blank">
<img src="./images/20 Stop Watch.png" alt="project img">
<div class="info">
<h3 class="name">Stop Watch</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/20%20Stop%20Watch">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./19 Binary to Decimal/index.html" target="_blank">
<img src="./images/19 Binary to Decimal Converter.png" alt="project img">
<div class="info">
<h3 class="name">Binary to Decimal Converter</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/19%20Binary%20to%20Decimal">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./18 Paragraph Generator/index.html" target="_blank">
<img src="./images/18 Paragraph Generator.png" alt="project img">
<div class="info">
<h3 class="name">Paragraph Generator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/18%20%20Paragraph%20Generator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./17 Weather web app/index.html" target="_blank">
<img src="./images/17 weather web app.png" alt="project img">
<div class="info">
<h3 class="name">Weather Web app</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/17%20Weather%20web%20app">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./16 Movie Search web App/index.html" target="_blank">
<img src="./images/16 Movie Search web App.png" alt="project img">
<div class="info">
<h3 class="name">Movie Search web App</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/16%20Movie%20Search%20web%20App">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./15 Notes Taking App/index.html" target="_blank">
<img src="./images/15 Notes Taking App.png" alt="project img">
<div class="info">
<h3 class="name">Notes Taking App</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/15%20%20Notes%20Taking%20App">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./01 Bulb on off project/index.html" target="_blank">
<img src="./images/01 bulb.png" alt="project img">
<div class="info">
<h3 class="name">Bulb on off</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/01%20Bulb%20on%20off%20project">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./02 To do list project/index.html" target="_blank">
<img src="./images/02 To do .png" alt="project img">
<div class="info">
<h3 class="name">to do list</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/02%20To%20do%20list%20project">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./03 life timer/index.html" target="_blank">
<img src="./images/03 life timer.png" alt="project img">
<div class="info">
<h3 class="name">life timer</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/03%20life%20timer">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./04 github profile/index.html" target="_blank">
<img src="./images/04 Search Github Profile.png" alt="project img">
<div class="info">
<h3 class="name">Search Github Profile</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/04%20github%20profile">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./05 marks calculator/index.html" target="_blank">
<img src="./images/05 Marks calculator.png" alt="project img">
<div class="info">
<h3 class="name">Marks calculator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/05%20marks%20calculator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./06 Math Question Game/index.html" target="_blank">
<img src="./images/06 Math-Question-game.png" alt="project img">
<div class="info">
<h3 class="name">Math Question game</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/06%20Math%20Question%20Game">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./07 fetch product search and filter/index.html" target="_blank">
<img src="./images/07 fetch product search and filter.png" alt="project img">
<div class="info">
<h3 class="name">product search</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/07%20fetch%20product%20search%20and%20filter">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./08 Color palette Generator/index.html" target="_blank">
<img src="./images/08 Color palette Generator.png" alt="project img">
<div class="info">
<h3 class="name">Color Palette Generator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/08%20Color%20palette%20Generator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./09 QR Code Generator/index.html" target="_blank">
<img src="./images/09 QR Code Generator.png" alt="project img">
<div class="info">
<h3 class="name"> QR Code Generator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/09%20QR%20Code%20Generator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./10 Expense Tracker/index.html" target="_blank">
<img src="./images/10 Expense Tracker.png" alt="project img">
<div class="info">
<h3 class="name"> Expense Tracker</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/10%20Expense%20Tracker">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./11 Password Generator/index.html" target="_blank">
<img src="./images/11 password generator.png" alt="project img">
<div class="info">
<h3 class="name"> Password Generator</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/11%20Password%20Generator">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./12 drag drop and sortable/index.html" target="_blank">
<img src="./images/12 drag drop and sortable list.png" alt="project img">
<div class="info">
<h3 class="name"> drag drop and sortable list</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/12%20drag%20drop%20and%20sortable">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./13 countdown timer/index.html" target="_blank">
<img src="./images/13 countdown timer.png" alt="project img">
<div class="info">
<h3 class="name">countdown timer</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/13%20countdown%20timer">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
<div class="project">
<a href="./14 Quiz App/index.html" target="_blank">
<img src="./images/14 Quiz app.png" alt="project img">
<div class="info">
<h3 class="name">Quiz app</h3>
<div class="icon">
<a target="_blank"
href="https://github.com/deepakp626/javascript-project-by-deepak/tree/master/14%20Quiz%20App">
<img src="./icons/github.png" alt="">
</a>
</div>
</div>
</a>
</div>
</div>
</section>
<footer>
<h2 class="links">
< / > with ❤️ by <a href="">Deepak prajapat</a> <br>
<a target="_blank" href="https://github.com/deepakp626/javascript-project-by-deepak">#All projects</a>
</h2>
</footer>
<script>
const modeEl = document.getElementById("mode");
const modeImgEl = document.getElementById("mode-img")
const titalEl = document.getElementById("tital")
let bgColor = 'white';
const change = () => {
if (bgColor == 'white') {
modeImgEl.src = './icons/moon.png';
bgColor = 'black';
} else {
modeImgEl.src = './icons/sun.png';
bgColor = 'white';
}
document.body.classList.toggle("black")
modeEl.classList.toggle("black")
titalEl.classList.toggle("white")
}
modeEl.addEventListener("click", change)
</script>
</body>
</html>