generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
js.html
550 lines (508 loc) · 27.6 KB
/
js.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="What The JS???" content="Javascript Learning Reference Guide">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/fontAwesome.css">
<link rel="stylesheet" href="css/hero-slider.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/owl-carousel.css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
<link rel="icon" type="image/png" href="img/favicon.ico">
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
<title>What the JS???</title>
</head>
<body>
<div class="fixed-side-navbar">
<ul class="nav flex-column">
<li class="nav-item"><a class="nav-link" href="#home"><span>Intro</span></a></li>
<li class="nav-item"><a class="nav-link" href="#about"><span>About</span></a></li>
<li class="nav-item"><a class="nav-link" href="#courses"><span>Free Courses</span></a></li>
<li class="nav-item"><a class="nav-link" href="#video"><span>Video Tutorials</span></a></li>
<li class="nav-item"><a class="nav-link" href="#challenges"><span>Challenges</span></a></li>
<li class="nav-item"><a class="nav-link" href="#games"><span>Games</span></a></li>
<li class="nav-item"><a class="nav-link" href="#ajax"><span>AJAX & JSON</span></a></li>
</ul>
</div>
<div class="parallax-content baner-content" id="home">
<div class="container">
<div class="first-content">
<h1>WHAT THE JS???</h1><br>
<span>Welcome to the <em>Javascript</em> learning platform!</span>
<div class="buttons">
<div class="primary-button">
<a href="#about">Checkout awesome JavaScript Resources</a>
</div>
<div class="primary-button">
<a href="index.html">Take me home</a>
</div>
</div>
</div>
</div>
</div>
<!--ABOUT SECTION-->
<div class="about-content" id="about">
<div class="container">
<h2>ABOUT THIS SITE</h2>
<div class="card-deck">
<div class="card">
<div class="card-body">
<h5 class="card-title">
You are NOT alone!
</h5>
<p class="card-text">
JavaScript is hard, very hard. You're taking a huge amount of info in and it's an enormous leap in learning curve
from HTML and CSS, so don't be hard on yourself! The more you learn, code and do challenges,
the more it 'sits'.
</p>
<div class="line-dec"></div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="card-deck">
<div class="card">
<div class="card-body">
<a class="card-title" href="#courses">
<h3>Online Courses</h3>
</a>
<p>
There are some amazing free courses available online!
</p>
<p>
Remember that these courses are aimed at <strong>supplementing</strong> your learning, so
don't expect to know all of JavaScript immediately!
</p>
</div>
</div>
<div class="card">
<div class="card-body">
<a class="card-title" href="#video">
<h3>Video Tutorials</h3>
</a>
<div class="line-dec"></div>
<p>It's important not to get carried away with the 'Tutorial Rabbit-Hole' as this can
lead to immense frustration.</p>
<p> Check out the recommended video tutorials below, which have been specifically
selected for their quality of teaching methods and learning
outcomes</p>
</div>
</div>
<div class="card">
<div class="card-body">
<a class="card-title" href="#challenges">
<h3>Challenges</h3>
</a>
<div class="line-dec"></div>
<p>Javascript Challenges are tutorial-based, allowing you to follow instructions to
build an array of interesting projects.</p>
<p>This is an excellent way to learn by practice. The more you write, the more
accustomed you get to understanding the code and remembering the sytax.</p>
</div>
</div>
<div class="container">
<div class="card-deck">
<div class="card">
<div class="card-body">
<a class="card-title" href="#games">
<h3>Games</h3>
</a>
<div class="line-dec"></div>
<p>Building a few games will really get you into writing Javascript
code and working with DOM traversal. </p>
<p>Like the challenges, this is a great way to practice writing code</p>
</div>
</div>
<div class="card">
<div class="card-body">
<a class="card-title" href="#ajax">
<h3>JSON/AJAX</h3>
</a>
<div class="line-dec"></div>
<p>Building a few games will really get you into writing Javascript
code and working with DOM traversal. </p>
<p>Like the challenges, this is a great way to practice writing code</p>
</div>
</div>
<div class="card">
<div class="card-body">
<a class="card-title" href="">
<h3>Coming soon!</h3>
</a>
<div class="line-dec"></div>
<p>Building a few games will really get you into writing Javascript
code and working with DOM traversal. </p>
<p>Like the challenges, this is a great way to practice writing code</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--COURSES SECTION-->
<div class="parallax-content course-content" id="courses">
<div class="container">
<h2>A QUICK WORTHWHILE WATCH</h2>
<div class="row">
<div class="col-md-8 mx-auto">
<div class="wrapper">
<section id="courses-tab-group" class="tabgroup">
<div id="tab1" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/aMzAjQ4uUag"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
</section>
</div>
</div>
</div>
<h2>FREE ONLINE COURSES</h2>
<div class="row">
<div class="col-md-12">
<div class="owl-testimonials owl-carousel owl-theme">
<div class="item">
<div class="testimonials-item">
<a href="https://www.freecodecamp.org/learn/" target="_blank"><img src="img/freec.jpg"
alt="Freecodecamp logo"></a>
<div class="text-content">
<a href="https://www.freecodecamp.org/learn/" target="_blank">
<h4>FreeCodeCamp</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="https://www.codecademy.com/learn/introduction-to-javascript"
target="_blank"><img src="img/codec.jpg" alt="Codecademy logo"></a>
<div class="text-content">
<a href="https://www.codecademy.com/learn/introduction-to-javascript"
target="_blank">
<h4>CodeCademy</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="https://www.sololearn.com/Course/JavaScript/" target="_blank">
<img src="img/solo.jpg" alt="Sololearn logo"></a>
<div class="text-content">
<a href="https://www.sololearn.com/Course/JavaScript/" target="_blank">
<h4>SoloLearn</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="https://www.w3schools.com/js/default.asp" target="_blank"><img src="img/w3.jpg"
alt="W3Schools logo"></a>
<div class="text-content">
<a href="https://www.w3schools.com/js/default.asp" target="_blank">
<h4>W3Schools</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="https://watchandcode.com/courses" target="_blank"><img src="img/watch.jpg"
alt="W3Schools logo"></a>
<div class="text-content">
<a href="https://watchandcode.com/courses" target="_blank">
<h4>Watch&Code</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="https://edabit.com/tutorial/javascript" target="_blank"><img
src="img/edabit.jpg" alt="Edabit logo"></a>
<div class="text-content">
<a href="https://edabit.com/tutorial/javascript" target="_blank">
<h4>Edabit</h4>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--VIDEO TUTORIAL SECTION-->
<div class="video-content" id="video">
<div class="container">
<h2>VIDEO TUTORIALS</h2>
<div class="row">
<div class="col-md-8 mx-auto">
<div class="wrapper">
<section id="video-tab-group" class="tabgroup">
<div id="vid1" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/PkZNo7MFNFg"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div id="vid2" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/hdI2bqOjy3c"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div id="vid3" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/W6NZfCO5SIk"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div id="vid4" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/Qqx_wzMmFeA"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div id="vid5" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/HnXmI2UVZlU"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div id="vid6" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/x2RNw4M6cME"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div id="vid7" class="vid-container">
<iframe class="responsive-iframe"
src="https://www.youtube.com/embed/iWOYAxlnaww?list=PL4cUxeGkcC9haFPT7J25Q9GRB_ZkFrQAc"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
</section>
<ul class="tabs clearfix" data-tabgroup="video-tab-group">
<li><a href="#vid1" class="active">FreeCodeCamp</a></li>
<li><a href="#vid2">Traversy Media</a></li>
<li><a href="#vid3">Programming with Mosh</a></li>
<li><a href="#vid4">Clever Programmer</a></li>
<li><a href="#vid5">Chris Hawkes</a></li>
<li><a href="#vid6">Colt Steele</a></li>
<li><a href="#vid7">The Net Ninja</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!--CHALLENGES SECTION-->
<div class="parallax-content challenge-content" id="challenges">
<div class="container">
<h2>JAVASCRIPT CHALLENGES</h2>
<div class="row">
<div class="col-md-12">
<div class="owl-testimonials owl-carousel owl-theme">
<div class="item">
<div class="testimonials-item">
<a href="https://javascript30.com/" target="_blank"><img src="img/js30.jpg"
alt="Javascript30 logo"></a>
<div class="text-content">
<a href="https://javascript30.com/" target="_blank">
<h4>Javascript30</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="https://edabit.com/challenges/javascript" target="_blank">
<img src="img/edabit2.jpg" alt="Codecademy logo">
</a>
<div class="text-content">
<a href="https://edabit.com/challenges/javascript" target="_blank">
<h4>Edabit Challenges</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="https://www.codewars.com/" target="_blank"><img src="img/codewars.jpg"
alt="W3Schools logo"></a>
<div class="text-content">
<a href="https://www.codewars.com/" target="_blank">
<h4>CodeWars</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="https://careerkarma.com/blog/coding-challenges-for-javascript/"
target="_blank">
<img src="img/ck.jpg" alt="Career Karma logo"></a>
<div class="text-content">
<a href="https://careerkarma.com/blog/coding-challenges-for-javascript/"
target="_blank">
<h4>Career Karma</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="" target="_blank"><img src="img/soon.jpg" alt=""></a>
<div class="text-content">
<a href="" target="_blank">
<h4>Coming soon</h4>
</a>
</div>
</div>
</div>
<div class="item">
<div class="testimonials-item">
<a href="" target="_blank"><img src="img/soon.jpg" alt=""></a>
<div class="text-content">
<a href="" target="_blank">
<h4>Coming soon</h4>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--GAMES SECTION-->
<div class="tabs-content" id="games">
<div class="container">
<h2>GAMES WITH JAVASCRIPT</h2>
<div class="row">
<div class="col-md-8 mx-auto">
<div class="wrapper">
<section id="game-tab-group" class="tabgroup">
<div id="game1" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/bG2BmmYr9NQ"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
<div id="game2" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/ZniVgo8U7ek"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
<div id="game3" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/QTcIXok9wNY"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
<div id="game4" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/R1S_NhKkvGA"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
<div id="game5" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/Y-GkMjUZsmM"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
<div id="game6" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/lhNdUVh3qCc"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen>
</iframe>
</div>
</section>
<ul class="tabs clearfix" data-tabgroup="game-tab-group">
<li><a href="#game1" class="active">Simple JS Game</a></li>
<li><a href="#game2">Memory Game</a></li>
<li><a href="#game3">Code Snake</a></li>
<li><a href="#game4">Adventure Game</a></li>
<li><a href="#game5">Tic-Tac-Toe</a></li>
<li><a href="#game6">Build 7 Games!</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!--AJAX/JSON SECTION-->
<div class="parallax-content challenge-content" id="ajax">
<div class="container">
<h2>JSON and AJAX</h2>
<div class="row">
<div class="col-md-8 mx-auto">
<div class="wrapper">
<section id="ajax-tab-group" class="tabgroup">
<div id="ajax1" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/rJesac0_Ftw"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
<div id="ajax2" class="vid-container">
<iframe class="responsive-iframe" src="https://www.youtube.com/embed/82hnvUYY6QA"
allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen></iframe>
</div>
</section>
<ul class="tabs clearfix" data-tabgroup="ajax-tab-group">
<li><a href="#ajax1" class="active">LearnWebCode</a></li>
<li><a href="#ajax2">Traversy Media</a></li>
<li><a href="#ajax3">Coming soon</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!--FOOTER-->
<footer class="d-flex pb-2 pt-0">
<p class="text-muted w-100 p-0">
Site for educational purposes only
<a class="text-muted" style="text-decoration: none;" href="https://github.com/JimLynx/code-resources"
target="blank"><img style="display: inline-flex;" class="lynxlogo" src="img/lynx.png"
alt="lynx logo">JimLynx 2021</a>
<a class="text-muted" style="text-decoration: none;" href="https://templatemo.com/tm-526-vanilla"
target="blank">|| TemplateMo</a>
</p>
<a class="back-to-top" href="#home">Back To Top</a>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')
</script>
<script src="js/vendor/bootstrap.min.js"></script>
<script src="js/plugins.js"></script>
<script src="js/main.js"></script>
<script>
$(document).ready(function () {
// Add smooth scrolling to all links
$(".fixed-side-navbar a, .primary-button a").on('click', function (event) {
// Make sure this.hash has a value before overriding default behavior
if (this.hash !== "") {
// Prevent default anchor click behavior
event.preventDefault();
// Store hash
var hash = this.hash;
// Using jQuery's animate() method to add smooth page scroll
// The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
$('html, body').animate({
scrollTop: $(hash).offset().top
}, 800, function () {
// Add hash (#) to URL when done scrolling (default click behavior)
window.location.hash = hash;
});
} // End if
});
});
</script>
</body>
</html>