-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
378 lines (374 loc) · 17 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
<!DOCTYPE html>
<html>
<head>
<title>ArpanCodes | JavaScript30</title>
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<header>
<h1>My version of JavaScript30</h1>
<p>Follow Me on Instagram <a href="https://www.instagram.com/arpancodes" target="_blank">@arpancodes</a></p>
<p>Follow Me on Twitter <a href="https://www.twitter.com/arpancodes" target="_blank">@arpancodes</a></p>
</header>
<section>
<p>
Inspired by <a href="https://www.twitter.com/wesbos" target="_blank">wesbos</a>'s JavaScript30 series. Though In some projects I have added some more functionalities. So it's worth checking out even if you have followed the original JavaScript30 series before and if you haven't tried the series you can try it <a href="https://javascript30.com" target="_blank">here</a>.
</p>
</section>
<section class="fav">
<h2>MY FAVOURITE!</h2>
<img class="fav-img" src="images/Day-30.jpg"></img>
<h5>30 - Whack A Mole</h5>
<p>So this was the last day so I used a lot of knowledge which I learn in these 30 days in this single game. I used localstorage countdown timer and much more. <strong>MUST TRY</strong> .</p>
<a href="day-30/index.html" class="btn btn-primary">See Project</a>
</section>
<main class="container">
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-1.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">01 - JavaScript Drum Kit</h5>
<p class="card-text">
Drum Kit using JavaScript which plays instruments on key press.
</p>
<a href="day-1/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-2.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">02 - JS and CSS Clock</h5>
<p class="card-text">Created a clock in CSS and JavaScript.</p>
<a href="day-2/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-3.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">03 - CSS Variables</h5>
<p class="card-text">Changing the css variables using js updates every elements on the page that is using that variable.</p>
<a href="day-3/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-4.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">04 - Array Cardio Day 1</h5>
<p class="card-text">Not much Visual in this but a very important topic of JavaScript
The array methods!!
I find reduce() to be a bit tricky... But practice makes everything perfect...</p>
<a href="day-4/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-5.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">05 - Flex Panel Gallery</h5>
<p class="card-text">This is really very interesting 😅😅
Made a flex image gallery</p>
<a href="day-5/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-6.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">06 - Type Ahead</h5>
<p class="card-text">Maintaining the Streak 😁😂 Made this type ahead input.</p>
<a href="day-6/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-7.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">07 - Array Cardio Day 2</h5>
<p class="card-text">A few more array methods</p>
<a href="day-7/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-8.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">08 - Fun with HTML5 Canvas</h5>
<p class="card-text">Learnt about HTML5 canvas
Made some changes to the original version
Added two inputs
1. Range - to change the size of the brush (lineWidth)
2. Color - to change the colour of the stroke (strokeStyle)</p>
<a href="day-8/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-9.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">09 - Dev Tools Domination</h5>
<p class="card-text">Learnt some cool tricks about the chrome dev tools ✌✌.</p>
<a href="day-9/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-10.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">10 - Hold Shift and Check Checkboxes</h5>
<p class="card-text">Created this nice checkbox feature that enables us to select multiple choices by holding the shift key</p>
<a href="day-10/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-11.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">11 - Custom Video Player</h5>
<p class="card-text">This one is my favourite till now 🔥🔥
Made some changes to the original video player demonstrated by @wesbos
Like :
• added a fullscreen feature • added keyboard shortcuts for playing/pausing (spacebar) and and toggling fullscreen (f key)</p>
<a href="day-11/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-12.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">12 - Key Sequence Detection</h5>
<p class="card-text">This was a very quick and easy task
But we can do some really interesting things with this concept of 'konami code'</p>
<a href="day-12/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-13.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">13 - Slide in on Scroll</h5>
<p class="card-text">Made this nice slide on scroll feature in js...</p>
<a href="day-13/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-14.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">14 - JavaScript References VS Copying</h5>
<p class="card-text">Learnt the difference between reference and copy...
Though I knew the use of spread operator in copying array and objects.. but learnt some more ways to copy objects and arrays like Array.from() and Object.assign()</p>
<a href="day-14/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-15.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">15 - LocalStorage</h5>
<p class="card-text">Half way through the JavaScript30 series by @wesbos
Learnt about the localstorage
The only thing to keep in mind is before storing an object to the localstorage we must convert it to string by using JSON.stringify()</p>
<a href="day-15/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-16.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">16 - Mouse Move Shadow</h5>
<p class="card-text">Had fun with 'mousemove' event
I think this would be great for a website's header 😅😅
What do you think?</p>
<a href="day-16/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-17.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">17 - Sort Without Articles</h5>
<p class="card-text">I've seen this in many websites that the names are sorted irrespective of the articles (A, An or The) the same thing is going on here.. used the regular expression in replace() method to remove the article while sorting but the actual array was not modified ✌✌</p>
<a href="day-17/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-18.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">18 - Adding Up Times with Reduce</h5>
<p class="card-text">Not much visual it was like a revision for the array methods</p>
<a href="day-18/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-19.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">19 - Webcam Fun</h5>
<p class="card-text">This was super fun and tough at the same time some. Had to give some time to the *pixel modification part* to sync in to my head</p>
<a href="day-19/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-20.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">20 - Speech Detection</h5>
<p class="card-text">This was great! Thanks @wesbos for your efforts.
I also found that we can use regional language in the speech recognition.</p>
<a href="day-20/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-21.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">21 - Geolocation</h5>
<p class="card-text">This was quite frustrating though I understood everything taught by @wesbos but couldn't get this to work on my device... As I don't have a mac or iOS 😐😐</p>
<a href="day-21/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-22.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">22 - Follow Along Link Highlighter</h5>
<p class="card-text">Created this follow along link highlighter this was a basic intro to the method getBoundingClientRect() which returns the values like top,left, height, width etc of the element on which it was called.</p>
<a href="day-22/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-23.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">23 - Speech Synthesis</h5>
<p class="card-text">Created this text to speech app in JavaScript...</p>
<a href="day-23/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-24.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">24 - Sticky Nav</h5>
<p class="card-text">Sticky nav : a very common and useful feature of a website.
Not a lot of code but was fun!</p>
<a href="day-24/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-25.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">25 - Event Capture, Propagation, Bubbling and Once</h5>
<p class="card-text">Learnt some core concepts of JavaScript like event propagation, caption, bubble.</p>
<a href="day-25/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-26.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">26 - Stripe Follow Along Nav</h5>
<p class="card-text">So a few days back(Day-22) I made a link highlighter which follows the mouse from one link to another based on same principle this drop-down is made here the white background follow the mouse.</p>
<a href="day-26/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-27.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">27 - Click and Drag</h5>
<p class="card-text">This was super cool !!
You may have seen this functionality in websites where you can drag left or right to scroll horizontally... On Instagram too you can drag to see 'suggested people to follow'.</p>
<a href="day-27/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-28.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">28 - Video Speed Controller</h5>
<p class="card-text">Made a nice looking speed changing bar for a video. What do you think about it?.</p>
<a href="day-28/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-29.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">29 - Countdown Timer</h5>
<p class="card-text">Created this Countdown timer in JavaScript.</p>
<a href="day-29/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card" style="width: 18rem;">
<img src="images/Day-30.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">30 - Whack A Mole</h5>
<p class="card-text">So this was the last day so I used a lot of knowledge which I learn in these 30 days in this single game. I used localstorage countdown timer and much more. <br/> <strong>MUST TRY</strong> .</p>
<a href="day-30/index.html" class="btn btn-primary">See Project</a>
</div>
</div>
</div>
</div>
</main>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js" integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js" integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k" crossorigin="anonymous"></script>
</body>
</html>