-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathw3s-html.html
654 lines (649 loc) · 31.6 KB
/
w3s-html.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>HTML Tutorial replica by greg-ynx</title>
<link rel="stylesheet" href="w3s-html-style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div id="page-top">
<a href="" title="home" style="height: 70px;">
<img class="w3s-icon" src="src/assets/img/w3s-logo.png" alt="W3S logo"/>
</a>
<a class="item" href="" title="tutorials tab">Tutorials</a>
<a class="item" href="" title="references tab">References</a>
<a class="item" href="" title="exercises tab">Exercises</a>
<a class="item" href="" title="videos tab">Videos</a>
<div class="page-top-buttons">
<a href="" id="ProButton" class="button">Pro</a>
<a href="" id="GetCertifiedButton" class="button">Get Certified</a>
<a href="" id="FreeWebsiteButton" class="button">Free Website</a>
</div>
<div class="page-top-login">
<a href="">
<img src="src/assets/img/user.png" alt="User persona"/>
</a>
</div>
</div>
<div class="page-content">
<nav class="top-nav">
<a href="" class="fa fa-fw fa-home top-nav-icon"></a>
<a href="" class="top-nav-active">HTML</a>
<a href="">CSS</a>
<a href="">JAVASCRIPT</a>
<a href="">SQL</a>
<a href="">PYTHON</a>
<a href="">PHP</a>
<a href="">BOOTSTRAP</a>
<a href="">HOW TO</a>
<a href="">W3.CSS</a>
<a href="">JAVA</a>
<a href="">JQUERY</a>
<a href="">C</a>
<a href="">C++</a>
<a href="">C#</a>
<a href="">R</a>
<a href="">React</a>
<div class="right">
<a href="" class="fa fa-fw fa-adjust top-nav-icon"></a>
<a href="" class="fa fa-fw fa-globe top-nav-icon"></a>
<a href="" class="fa fa-fw fa-search top-nav-icon"></a>
</div>
</nav>
<aside class="sidebar">
<div class="left-menu-inner">
<div class="left-menu-inner-inner">
<h2>HTML Tutorial</h2>
<a class="sidebar-item active" href="">HTML HOME</a>
<a class="sidebar-item" href="">HTML Introduction</a>
<a class="sidebar-item" href="">HTML Editors</a>
<a class="sidebar-item" href="">HTML Basic</a>
<a class="sidebar-item" href="">HTML Elements</a>
<a class="sidebar-item" href="">HTML Attributes</a>
<a class="sidebar-item" href="">HTML Headings</a>
<a class="sidebar-item" href="">HTML Paragraphs</a>
<a class="sidebar-item" href="">HTML Styles</a>
<a class="sidebar-item" href="">HTML Formatting</a>
<a class="sidebar-item" href="">HTML Quotations</a>
<a class="sidebar-item" href="">HTML Comments</a>
<a class="sidebar-item" href="">HTML Colors</a>
<a class="sidebar-item" href="">HTML CSS</a>
<a class="sidebar-item" href="">HTML Links</a>
<a class="sidebar-item" href="">HTML Images</a>
<a class="sidebar-item" href="">HTML Favicon</a>
<a class="sidebar-item" href="">HTML Tables</a>
<a class="sidebar-item" href="">HTML Lists</a>
<a class="sidebar-item" href="">HTML Block & Inline</a>
<a class="sidebar-item" href="">HTML Classes</a>
<a class="sidebar-item" href="">HTML Id</a>
<a class="sidebar-item" href="">HTML Iframes</a>
<a class="sidebar-item" href="">HTML JavaScript</a>
<a class="sidebar-item" href="">HTML File Paths</a>
<a class="sidebar-item" href="">HTML Head</a>
<a class="sidebar-item" href="">HTML Layout</a>
<a class="sidebar-item" href="">HTML Responsive</a>
<a class="sidebar-item" href="">HTML Computercode</a>
<a class="sidebar-item" href="">HTML Semantics</a>
<a class="sidebar-item" href="">HTML Style Guide</a>
<a class="sidebar-item" href="">HTML Entities</a>
<a class="sidebar-item" href="">HTML Symbols</a>
<a class="sidebar-item" href="">HTML Emojis</a>
<a class="sidebar-item" href="">HTML Charset</a>
<a class="sidebar-item" href="">HTML URL Encode</a>
<a class="sidebar-item" href="">HTML vs. XHTML</a>
<br>
<h2>HTML Forms</h2>
<a class="sidebar-item" href="">HTML Forms</a>
<a class="sidebar-item" href="">HTML Form Attributes</a>
<a class="sidebar-item" href="">HTML Form Elements</a>
<a class="sidebar-item" href="">HTML Input Types</a>
<a class="sidebar-item" href="">HTML Input Attributes</a>
<a class="sidebar-item" href="">HTML Input Form Attributes</a>
<br>
<h2>HTML Graphics</h2>
<a class="sidebar-item" href="">HTML Canvas</a>
<a class="sidebar-item" href="">HTML SVG</a>
<br>
<h2>HTML Media</h2>
<a class="sidebar-item" href="">HTML Media</a>
<a class="sidebar-item" href="">HTML Video</a>
<a class="sidebar-item" href="">HTML Audio</a>
<a class="sidebar-item" href="">HTML Plug-ins</a>
<a class="sidebar-item" href="">HTML Youtube</a>
<br>
<h2>HTML APIs</h2>
<a class="sidebar-item" href="">HTML Geolocation</a>
<a class="sidebar-item" href="">HTML Drag/Drop</a>
<a class="sidebar-item" href="">HTML Web Storage</a>
<a class="sidebar-item" href="">HTML Web Workers</a>
<a class="sidebar-item" href="">HTML SSE</a>
<br>
<h2>HTML Examples</h2>
<a class="sidebar-item" href="">HTML Examples</a>
<a class="sidebar-item" href="">HTML Quiz</a>
<a class="sidebar-item" href="">HTML Exercises</a>
<a class="sidebar-item" href="">HTML Certificate</a>
<a class="sidebar-item" href="">HTML Summary</a>
<a class="sidebar-item" href="">HTML Accessibility</a>
<br>
<h2>HTML References</h2>
<a class="sidebar-item" href="">HTML Tag List</a>
<a class="sidebar-item" href="">HTML Attributes</a>
<a class="sidebar-item" href="">HTML Global Attributes</a>
<a class="sidebar-item" href="">HTML Browser Support</a>
<a class="sidebar-item" href="">HTML Events</a>
<a class="sidebar-item" href="">HTML Colors</a>
<a class="sidebar-item" href="">HTML Canvas</a>
<a class="sidebar-item" href="">HTML Audio/Video</a>
<a class="sidebar-item" href="">HTML Doctypes</a>
<a class="sidebar-item" href="">HTML Character Sets</a>
<a class="sidebar-item" href="">HTML URL Encode</a>
<a class="sidebar-item" href="">HTML Lang Codes</a>
<a class="sidebar-item" href="">HTML Messages</a>
<a class="sidebar-item" href="">HTML Methods</a>
<a class="sidebar-item" href="">PX to EM Converter</a>
<a class="sidebar-item" href="">Keyboard Shortcuts</a>
<br>
<br>
</div>
</div>
</aside>
<main class="main-grid">
<div id="MainContent">
<div class="main-content">
<div class="main-sub-content">
<h1>HTML Tutorial</h1>
<div class="nav-buttons">
<a class="nav-button f-left" href="">
<div class="fa fa-fw fa-angle-left"></div>
<span>Home</span>
</a>
<a class="nav-button f-right" href="">
<span>Next</span>
<div class="fa fa-fw fa-angle-right"></div>
</a>
</div>
</div>
</div>
<div class="main-content" style="background-color: #D9EEE1;padding-top:15px;padding-bottom:35px;">
<div class="main-sub-content" style="font-size: 18px;">
<p>HTML is the standard markup language for Web pages</p>
<p>With HTML you can create your own Website</p>
<p>HTML is easy to learn - You will enjoy it!</p>
<a class="my-button" href="" style="margin-bottom: 16px;">Study our free HTML Tutorial >></a>
<br>
<a class="my-button dark-gray" href="" style="text-decoration: none;position: relative;overflow: visible;margin-bottom: 1px;">
Watch our Video Tutorial >>
<span id="NEWSticker">NEW</span>
</a>
</div>
</div>
<div class="main-content">
<hr>
</div>
<div class="main-content">
<div class="main-sub-content" style="font-size: 18px;">
<h2>Easy Learning with HTML "Try it Yourself"</h2>
<p>With our "Try it Yourself" editor, you can edit the HTML code and view the result:</p>
</div>
</div>
<div class="example-container">
<h3>Example</h3>
<div class="example-textarea">
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">!DOCTYPE </span>
<span class="html-tag-decoration" style="color: red">html</span>
<span class="angle-bracket-decoration">></span>
<br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">html</span>
<span class="angle-bracket-decoration">></span>
<br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">head</span>
<span class="angle-bracket-decoration">></span>
<br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">title</span>
<span class="angle-bracket-decoration">></span>
<span>Page Title</span>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">/title</span>
<span class="angle-bracket-decoration">></span>
<br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">/head</span>
<span class="angle-bracket-decoration">></span>
<br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">body</span>
<span class="angle-bracket-decoration">></span>
<br><br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">h1</span>
<span class="angle-bracket-decoration">></span>
<span>This is a Heading</span>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">/h1</span>
<span class="angle-bracket-decoration">></span>
<br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">p</span>
<span class="angle-bracket-decoration">></span>
<span>This is a paragraph.</span>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">/p</span>
<span class="angle-bracket-decoration">></span>
<br><br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">/body</span>
<span class="angle-bracket-decoration">></span>
<br>
<span class="angle-bracket-decoration"><</span>
<span class="html-tag-decoration">/html</span>
<span class="angle-bracket-decoration">></span>
</div>
<a class="my-button example-button" href="">Try it Yourself! >></a>
</div>
<p style="margin: 2% 0 2% 20px;">
<strong>Click on the "Try it Yourself" button to see how it works.</strong>
</p>
<div class="main-content">
<hr>
</div>
<div class="main-content">
<div class="main-sub-content">
<h2>HTML Examples</h2>
<p>
In this HTML tutorial, you will find more than 200 examples. With our online
"Try it Yourself" editor, you can edit and test each example yourself!
</p>
<a class="my-button lightgrey" href="" style="padding: 6px 18px;">
Go to HTML Examples!
</a>
</div>
</div>
<div class="main-content">
<hr>
</div>
<div class="main-content">
<div class="main-sub-content">
<h2>HTML Exercises</h2>
<p>This HTML tutorial also contains nearly 100 HTML exercises.</p>
</div>
<div class="exercise-container">
<h2>Test Yourself With Exercises</h2>
<div class="exercise-textarea">
<h2>Exercise:</h2>
<p>Add a "tooltip" to the paragraph below with the text "About W3Schools".</p>
<div class="exercise-answer-container">
<span><p</span>
<label>
<input maxlength="5" style="width: 54px; border: 1px solid transparent"/>
</label>
<span>="About W3Schools">W3Schools is a web developer's site.</p></span>
</div>
<br>
<a class="my-button" href="">Submit Answer >></a>
<br><br>
<a id="StartTheExercise" href="">Start the Exercise</a>
</div>
</div>
</div>
<div class="main-content">
<hr>
</div>
<div class="main-content">
<div class="main-sub-content">
<h2>HTML Quiz Test</h2>
<p>
Test your HTML skills with our HTML Quiz!
</p>
<a class="my-button blue" href="" style="padding: 6px 18px;">
Start HTML Quiz!
</a>
</div>
</div>
<div class="main-content">
<hr>
</div>
<div class="main-content">
<div class="main-sub-content">
<h2>My Learning</h2>
<p>
Track your progress with the free "My Learning" program here at W3Schools.
</p>
<p>
Log into your account, and start earning points!
</p>
<p>
This is an optional feature. You can study W3Schools without using My Learning.
</p>
<a href="">
<img src="src/assets/img/mylearning.png" alt="mylearning" style="max-width: 100%"/>
</a>
</div>
</div>
<div class="main-content">
<hr>
</div>
<div class="main-content">
<div class="main-sub-content">
<h2>HTML References</h2>
<p style="line-height: 1.5;">
At W3Schools you will find complete references about HTML elements, attributes, events,
color names, entities, character-sets, URL encoding, language codes, HTTP messages, browser
support, and more:
</p>
<div id="ReferencesGrid">
<a class="references-btn" href="">HTML Elements</a>
<a class="references-btn" href="">Browser Support</a>
<a class="references-btn" href="">Attributes</a>
<a class="references-btn" href="">Global Attributes</a>
<a class="references-btn" href="">Event Attributes</a>
<a class="references-btn" href="">Color Names</a>
<a class="references-btn" href="">Canvas</a>
<a class="references-btn" href="">Audio/Video DOM</a>
<a class="references-btn" href="">Character Sets</a>
<a class="references-btn" href="">URL Encoding</a>
<a class="references-btn" href="">Language Codes</a>
<a class="references-btn" href="">Country Codes</a>
<a class="references-btn" href="">HTTP Messages</a>
<a class="references-btn" href="">Px to Em Converter</a>
<a class="references-btn" href="">Keyboard Shortcuts</a>
</div>
<div id="KickstartContainer">
<h2>Kickstart your career</h2>
<p>Get certified by completing the HTML course</p>
<a id="GetCertifiedButtonKickstart" class="my-button" href="">Get certified</a>
<img id="CertifiedArrow" src="src/assets/img/kickstart-arrow.png" alt="kickstarter-arrow"/>
<img id="CertifiedPin" src="src/assets/img/w3s-kickstart-pin.png" alt="w3s-certified-pin"/>
</div>
</div>
</div>
<div class="main-content">
<div class="main-sub-content">
<div class="nav-buttons">
<a class="nav-button f-left" href="">
<div class="fa fa-fw fa-angle-left"></div>
<span>Home</span>
</a>
<a class="nav-button f-right" href="">
<span>Next</span>
<div class="fa fa-fw fa-angle-right"></div>
</a>
</div>
</div>
</div>
</div>
<div id="MainSideContent">
<div id="VideoSideSection" class="side-section">
<span class="new-sticker">NEW</span>
<br><br>
<span>We just launched</span>
<br>
<span>W3Schools videos</span>
<br><br>
<a href="">
<img src="src/assets/img/w3s-videos-template.png" alt="w3s-videos-template"
style="border-style: none; vertical-align: middle; width: 200px; height: 120px; max-width: 100%;padding: 5px 10px 25px 10px;"/>
</a>
<br>
<a href="">
<span style="display: inline-block; padding-bottom: 20px; color: #FFC0C7;">Explore now</span>
</a>
</div>
<div class="side-section">
<h4>
<a id="ColorPickerTitle" href="">COLOR PICKER</a>
</h4>
<a href="" style="text-decoration: none;">
<img src="src/assets/img/w3s-colorpicker-template.png" alt="w3s-colorpicker"/>
</a>
</div>
<div class="side-section">
<div class="social-networks">
<a href="" title="Facebook">
<span class="fa-brands fa-facebook-square fa-2x"></span>
</a>
<a href="" title="Instagram">
<span class="fa-brands fa-instagram fa-2x"></span>
</a>
<a href="" title="LinkedIn">
<span class="fa-brands fa-linkedin-square fa-2x"></span>
</a>
<a href="" title="Discord">
<span class="fa-brands fa-discord fa-2x"></span>
</a>
</div>
</div>
<div id="GetCertifiedSection" class="side-section">
<p>
Get certified<br>
by completing<br>
a HTML<br>
course today!
</p>
<a href="">
<img src="src/assets/img/w3s-kickstart-pin.png" alt="W3S logo"
style="width: 160px; height: 160px; margin-bottom: 20px;"/>
</a>
<br>
<a id="GetStartedButton" href="">Get started</a>
</div>
<div id="GameSection" class="side-section">
<a id="CodeGameTitle" href="">CODE GAME</a>
<br>
<a href="">
<img id="LynxModel" src="src/assets/img/w3lynx_200.png" alt="lynx code game" style="margin: 16px 0;"/>
</a>
<br>
<a id="PlayGameButton" href="">Play Game</a>
</div>
</div>
</main>
<footer>
<div class="main-content">
<hr>
</div>
<div class="main-content" style="display: grid; grid-template-columns: 25% 25% 25% 25%; padding-left: 50px;
padding-right: 20px;">
<a class="my-button rspg" href="">Report Error</a>
<a class="my-button rspg" href="">Spaces</a>
<a class="my-button rspg" href="">Pro</a>
<a class="my-button rspg" href="">Get Certified</a>
</div>
<div class="main-content">
<hr>
</div>
<div id="TopCategories">
<div>
<h5>Top Tutorials</h5>
<br>
<a href="">HTML Tutorial</a>
<br>
<a href="">CSS Tutorial</a>
<br>
<a href="">JavaScript Tutorial</a>
<br>
<a href="">How To Tutorial</a>
<br>
<a href="">SQL Tutorial</a>
<br>
<a href="">Python Tutorial</a>
<br>
<a href="">W3.CSS Tutorial</a>
<br>
<a href="">Bootstrap Tutorial</a>
<br>
<a href="">PHP Tutorial</a>
<br>
<a href="">Java Tutorial</a>
<br>
<a href="">C++ Tutorial</a>
<br>
<a href="">jQuery Tutorial</a>
<br>
</div>
<div>
<h5>Top References</h5>
<br>
<a href="">HTML Reference</a>
<br>
<a href="">CSS Reference</a>
<br>
<a href="">JavaScript Reference</a>
<br>
<a href="">SQL Reference</a>
<br>
<a href="">Python Reference</a>
<br>
<a href="">W3.CSS Reference</a>
<br>
<a href="">Bootstrap Reference</a>
<br>
<a href="">PHP Reference</a>
<br>
<a href="">HTML Colors</a>
<br>
<a href="">Java Reference</a>
<br>
<a href="">Angular Reference</a>
<br>
<a href="">jQuery Reference</a>
</div>
<div>
<h5>Top Examples</h5>
<br>
<a href="">HTML Examples</a>
<br>
<a href="">CSS Examples</a>
<br>
<a href="">JavaScript Examples</a>
<br>
<a href="">How To Examples</a>
<br>
<a href="">SQL Examples</a>
<br>
<a href="">Python Examples</a>
<br>
<a href="">W3.CSS Examples</a>
<br>
<a href="">Bootstrap Examples</a>
<br>
<a href="">PHP Examples</a>
<br>
<a href="">Java Examples</a>
<br>
<a href="">XML Examples</a>
<br>
<a href="">jQuery Examples</a>
<br>
</div>
<div>
<a href="">
<h5>Get Certified</h5>
<br>
<a href="">HTML Certificate</a>
</a>
<br>
<a href="">CSS Certificate</a>
<br>
<a href="">JavaScript Certificate</a>
<br>
<a href="">Front End Certificate</a>
<br>
<a href="">SQL Certificate</a>
<br>
<a href="">Python Certificate</a>
<br>
<a href="">PHP Certificate</a>
<br>
<a href="">jQuery Certificate</a>
<br>
<a href="">Java Certificate</a>
<br>
<a href="">C++ Certificate</a>
<br>
<a href="">C# Certificate</a>
<br>
<a href="">XML Certificate</a>
<br>
</div>
</div>
<div class="main-content">
<hr>
</div>
<div id="ForumAbout" class="main-content">
<a href="">FORUM</a>
<span> | </span>
<a href="">ABOUT</a>
</div>
<br>
<div id="Terms" style="text-align:center; margin-left: 20%; margin-right: 20%;">
<p>
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and
learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot
warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our
<a href="">terms of use</a>, <a href="">cookie and privacy policy</a>.
</p>
<p>
Copyright 1999-2022 by Refsnes Data. All Rights Reserved.
</p>
<br>
<a href="">
<p>W3Schools is Powered by W3.CSS.</p>
</a>
<br>
<a href="">
<img src="src/assets/img/w3s-logo.png" alt="W3S logo" style="width: 45px; height: 42px;">
</a>
</div>
<div style="text-align: center">
<p>
This web page is a replica of "HTML Tutorial" from W3Schools made by
<a href="https://greg-ynx.github.io/" target="_blank">greg-ynx</a> for none profit reasons.
<br>
You can check the GitHub repository
<a href="https://github.com/greg-ynx/w3s-html-homepage-integration" target="_blank">right here!</a>
</p>
</div>
</footer>
</div>
<script>
function updateSideBar () {
let viewportWidth = window.innerWidth;
const asideElement = document.querySelector("aside");
const leftMenuElements = document.getElementsByClassName("left-menu-inner");
const leftMenuElement = leftMenuElements.item(0);
if (this.scrollY !== 0) {
if (viewportWidth < 1492) {
asideElement.style.top = "88px";
leftMenuElement.style.paddingTop = "88px";
return;
}
asideElement.style.top = "44px";
leftMenuElement.style.paddingTop = "44px";
}
else {
if (viewportWidth < 1492) {
asideElement.style.top = "158px";
leftMenuElement.style.paddingTop = "158px";
return;
}
asideElement.style.top = "114px";
leftMenuElement.style.paddingTop = "115px";
}
}
window.addEventListener("scroll", updateSideBar, false);
</script>
</body>
</html>