-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
438 lines (434 loc) · 21.1 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
<!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>Homepage</title>
<link rel="stylesheet" href="assests/css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"
integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Freckle+Face&display=swap" rel="stylesheet">
</head>
<body>
<!--Navigation starts-->
<section id="navigation">
<div class="logo"><img src="assests/uploads/logo.png" width="50" height="50" alt="logo"></div>
<nav class="nav-links left">
<ul>
<li><a href="#"><span id="menu">Menu<i class="fa-solid fa-caret-down"></i></span> </a></li>
<li><a href="#" class="nav tutorials">Tutorials <i class="fa-solid fa-caret-down"></i></a></li>
<li><a href="#" class="nav references">References <i class="fa-solid fa-caret-down"></i></a></li>
<li><a href="#" class="nav exercises">Exercises <i class="fa-solid fa-caret-down"></i></a></li>
<li><a href="#" class="nav vid"> Videos</a></li>
<li><a href="#" class="nav pro">Pro <button id="btn">New</button></a></li>
</ul>
</nav>
<nav class="nav-links right">
<ul>
<li><a href="#"><i class="fa-solid fa-circle-half-stroke"></i></a></li>
<li><a href="#"><i class="fa-solid fa-earth-americas"></i></a></li>
<li><a href="#"><i class="fa-solid fa-magnifying-glass"></i></a></li>
<li><a href="#" title="Get your own Website With W3Schools Spaces"><span id="web">Website <button
id="btn">New</button></span></a></li>
<li><a href="#" class="paid">Paid Courses</a></li>
<li><a href="#"><button id="btn-primary">Log in</button></a></li>
</ul>
</nav>
</section>
<!-- Navigation ends -->
<!--Top Body starts-->
<section id="body-content">
<div class="main-head">
<h1>Learn to Code</h1>
<h3>With the world's largest web developer site.</h3>
<div class="search-container">
<input type="text" placeholder="Search our tutorials, e.g.HTML" name="search">
<button type="submit"><i class="fa fa-search"></i></button>
</div>
<h4>Not Sure Where To Begin?</h4>
</div>
</section>
<div class="svg">
<svg style="background-color:#D9EEE1;" width="100%" height="70" viewBox="0 0 100 100" preserveAspectRatio="none">
<path id="wavepath" d="M0,0 L110,0C35,150 35,0 0,100z" fill="#282A35"></path>
</svg>
</div>
<!--Top Body ends-->
<!--Section html starts-->
<section id="html">
<div class="left-content">
<h1>HTML</h1>
<p>The language for building web pages</p>
<a href="#" style="text-decoration: none;"><button id="btn-A">Learn HTML</button></a>
<a href="#" style="text-decoration: none;"><button id="btn-B">Video Tutorial <span
class="ws-pink">New</span></button></a>
<a href="#" style="text-decoration: none;"><button id="btn-C">HTML Reference</button></a>
</div>
<div class="right-content">
<h3>HTML Example:</h3>
<div class="white-space first">
<p><<span style="color:brown">!DOCTYPE</span> <span style="color:red">html</span>></p>
<p><<span style="color:brown">html</span>></p>
<p><<span style="color:brown">title</span>> <span style="color: #000;">HTML Tutorial </span><<span
style="color:brown">/title</span>></p>
<p><<span style="color:brown">body</span>></p> <br>
<p><<span style="color:brown;">h1</span>><span style="color: #000;">This is heading</span><<span
style="color:brown">/h1</span>></p>
<p><<span style="color:brown;">p</span>><span style="color: #000;">This is paragraph.</span><<span
style="color:brown">/p</span>></p><br>
<p><<span style="color:brown">/body</span>></p>
<p><<span style="color:brown">/html</span>></p>
</div>
<div class="btn-down">
<a href="#">
<button id="btn-down">Try it Yourself</button>
</a>
</div>
</div>
</section>
<!--Section Html ends-->
<!--Section Css starts-->
<section id="css" style="background-color: #FFF4A3;">
<div class="left-content">
<h1>CSS</h1>
<p>The language for styling web pages</p>
<a href="#" style="text-decoration: none;"><button id="btn-A">Learn CSS</button></a>
<a href="#" style="text-decoration: none;"><button id="btn-C">CSS Reference</button></a>
</div>
<div class="right-content">
<h3>CSS Example:</h3>
<div class="white-space second">
<p>body<span style="color:#000"> {<br></span><span
style="color:red"> background-color:</span><span
style="color:mediumblue;"> lightblue;</span></p>
<p><span style="color:#000">}</p><br>
<p>h1<span style="color: #000;"> {</span></p>
<p><span style="color:red;"> color:</span><span
style="color: mediumblue;"> white</span><span style="color:#000">;</span></p>
<p><span style="color:red"> text-align:</span><span
style="color:mediumblue;"> center</span><span style="color:#000">;</span></p>
<p><span style="color:#000">}</span></p>
</div>
<div class="btn-down">
<a href="#">
<button id="btn-down">Try it Yourself</button>
</a>
</div>
</div>
</section>
<!--Section Css ends-->
<!--Section Javascript starts-->
<section id="javascript" style="background-color:#282A35;">
<div class="left-content black">
<h1>JavaScript</h1>
<p>The language for programming web pages</p>
<a href="#" style="text-decoration: none;"><button id="btn-A">Learn JavaScript</button></a>
<a href="#" style="text-decoration: none;"><button id="btn-B">JavaScript Reference</button></a>
</div>
<div class="right-content">
<h3>JavaScript Example:</h3>
<div class="white-space second">
<p>body<span style="color:#000"> {<br></span><span
style="color:red"> background-color:</span><span
style="color:mediumblue;"> lightblue;</span></p>
<p><span style="color:#000">}</p><br>
<p>h1<span style="color: #000;"> {</span></p>
<p><span style="color:red;"> color:</span><span
style="color: mediumblue;"> white</span><span style="color:#000">;</span></p>
<p><span style="color:red"> text-align:</span><span
style="color:mediumblue;"> center</span><span style="color:#000">;</span></p>
<p><span style="color:#000">}</span></p>
</div>
<div class="btn-down">
<a href="#">
<button id="btn-down">Try it Yourself</button>
</a>
</div>
</div>
</section>
<!--Section Javascript ends-->
<!--Section Python starts-->
<section id="python" style="background-color:#F3ECEA;">
<div class="left-content grey">
<h1>Python</h1>
<p>A popular programming language</p>
<a href="#" style="text-decoration: none;"><button id="btn-A">Learn Python</button></a>
<a href="#" style="text-decoration: none;"><button id="btn-C">Pyhton Reference</button></a>
</div>
<div class="right-content">
<h3>Python Example:</h3>
<div class="white-space second">
<p style="color: mediumblue;">if <span style="color: red;">5 <span
style="color:#000;">></span> 2</span><span style="color:#000;">:</span></p>
<p style="color: #000;"> print(<span style="color: brown;">"Five is greater than two!"</span>)</p>
<br><br><br><br><br><br><br><br>
</div>
<div class="btn-down">
<a href="#">
<button id="btn-down">Try it Yourself</button>
</a>
</div>
</div>
</section>
<!--Section Python ends-->
<!--Section Sql starts-->
<section id="sql" style="background-color:#96D4D4">
<div class="left-content grey">
<h1>SQL</h1>
<p>A language for accessing databases</p>
<a href="#" style="text-decoration: none;"><button id="btn-A">Learn SQL</button></a>
<a href="#" style="text-decoration: none;"><button id="btn-C">SQL Reference</button></a>
</div>
<div class="right-content">
<h3>SQL Example:</h3>
<div class="white-space second">
<p style="color:mediumblue;">SELECT <span style="color:#000;">*</span> FROM <span
style="color:#000;">Customers</span></p>
<p style="color:#000;"><span style="color:mediumblue;">WHERE </span>Country= <span
style="color:brown">'Mexico'</span> ;</p><br><br><br><br><br><br><br><br>
</div>
<div class="btn-down">
<a href="#">
<button id="btn-down">Try it Yourself</button>
</a>
</div>
</div>
</section>
<!--Section Sql ends-->
<!--Section Languages starts-->
<section id="language">
<div class="row">
<div class="col php">
<h2>PHP</h2>
<h5>A web server programming language</h5>
<button class="btn">Learn PHP</button>
</div>
<div class="col jquery">
<h2>jQuery</h2>
<h5>A JS library for developing web pages</h5>
<button class="btn">Learn jQuery</button>
</div>
<div class="col java">
<h2>Java</h2>
<h5>A programming language</h5>
<button class="btn">Learn Java</button>
</div>
<div class="col cprogram">
<h2>C++</h2>
<h5>A programming language</h5>
<button class="btn">Learn C++</button>
</div>
<div class="col css">
<h2>W3.CSS</h2>
<h5>A CSS framework for faster & better responsive web pages</h5>
<button class="btn">Learn W3.CSS</button>
</div>
<div class="col bootstrap">
<h2>Bootstrap</h2>
<h5>A CSS framework for designing better web pages</h5>
<button class="btn">Learn Bootstrap</button>
</div>
<div class="column-top pink">
<h5>C</h5>
</div>
<div class="column-top yellow">
<h5>C#</h5>
</div>
<div class="column-bottom excel">
<h5>Excel</h5>
</div>
<div class="column-bottom sheet">
<h5>Google Sheets</h5>
</div>
<div class="column-bottom machine">
<h5>Machine Learning</h5>
</div>
<div class="column-bottom ai">
<h5>Artifical Intelligence</h5>
</div>
<div class="column-bottom statistics">
<h5>Statistics</h5>
</div>
<div class="column-bottom data">
<h5>Data Science</h5>
</div>
</div>
</section>
<!--Section Languages ends-->
<!--Section Color Design starts-->
<section id="color">
<div class="color-content">
<h2>Color Picker</h2>
<h4>W3Schools's famous color picker</h4>
<a href="https://www.w3schools.com/colors/colors_picker.asp" target="_self">
<img src="assests/uploads/colorpicker.png" width:150px; height:128px; margin-top: 16px;" alt="color picker">
</a>
</div>
</section>
<!--Section Color Design ends-->
<!--Section code game starts-->
<section id="codegame">
<div class="codegame-contents">
<h1>Code Game</h1>
<h2>Help the Lynx to collect pine cones!</h2>
<a href="#">
<img src="assests/uploads/w3lynx_200.png" style="margin-bottom: 50px;" alt="codegame image">
</a>
<a href="https://www.w3schools.com/codegame/index.html"><button id="btn-game">Play Game</button></a>
</div>
</section>
<!--Section code game ends-->
<!-- section excercises and quizes starts -->
<section id="exercises">
<div class="section-quizzes">
<h2>Exercises and Quizzes</h2>
<h4>Test your skills!</h4>
<div class="exercise-quizes">
<div class="left-exercises">
<div class="child-left-exercises">
<p><a class="button exercise round green"
href="https://www.w3schools.com/exercises/index.php" style="color:rgb(255, 255, 255);text-decoration:none;">Exercises</a></p>
</div>
</div>
<div class="right-quizzes">
<div class="child-right-quizzes">
<p><a class="button exercise round yellow"
href="https://www.w3schools.com/quiztest/default.asp" style="color:#000;text-decoration:none;">Quizzes</a></p>
</div>
</div>
</div>
</div>
</section>
<!-- section excercises and quizes ends -->
<!-- section web templates starts -->
<section class="sec">
<div class="w3-web-template">
<h2>Web Templates</h2>
<h4>Browse our selection of free responsive HTML Templates
</h4>
<div class="w3-web-template-content">
<a href="#">
<img src="assests/uploads/w3css_templates.jpg" alt="W3.CSS Templates"></a>
</div>
<p><a href="#" class="w3-web-template-black-button">BROWSE TEMPLATES</a></p>
</div>
<!-- w3 web template ends -->
<!-- w3 course start -->
<div class="w3-course-panel">
<h2>
Kickstart your career
</h2>
<p>Get certified by completing a course</p>
<a href="#">Get started</a>
<svg id="w3_cert_arrow" viewBox="0 0 170 143" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.7747 42.7064C9.7747 42.7064 19.5575 77.2951 44.4558 84.8113C62.0225 90.1142 81.0061 80.1196 77.791 68.3309C76.0904 62.0955 69.0574 62.4735 65.5106 65.8444C59.1003 71.9368 67.8591 89.7423 77.9205 96.1324C112.816 118.295 161.943 84.5867 161.943 84.5867" stroke="white" stroke-width="2" stroke-linecap="round"></path>
<path d="M159.804 93.8429L162.704 84.4917L152.715 80.8293" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
<svg id="w3_cert_badge" data-name="w3_cert_badge" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><style>.cls-1{fill:#04aa6b;}.cls-2{font-size:23px;}.cls-2,.cls-3,.cls-4{fill:#fff;}.cls-2,.cls-3{font-family:RobotoMono-Medium, Roboto Mono;font-weight:500;}.cls-3{font-size:20.08px;}</style></defs><circle class="cls-1" cx="150" cy="150" r="146.47" transform="translate(-62.13 150) rotate(-45)"></circle><text class="cls-2" transform="translate(93.54 63.89) rotate(-29.5)">w</text><text class="cls-2" transform="translate(107.13 56.35) rotate(-20.8)">3</text><text class="cls-2" transform="matrix(0.98, -0.21, 0.21, 0.98, 121.68, 50.97)">s</text><text class="cls-2" transform="translate(136.89 47.84) rotate(-3.47)">c</text><text class="cls-2" transform="translate(152.39 47.03) rotate(5.12)">h</text><text class="cls-2" transform="translate(167.85 48.54) rotate(13.72)">o</text><text class="cls-2" transform="translate(182.89 52.35) rotate(22.34)">o</text><text class="cls-2" transform="matrix(0.86, 0.52, -0.52, 0.86, 197.18, 58.36)">l</text><text class="cls-2" transform="matrix(0.77, 0.64, -0.64, 0.77, 210.4, 66.46)">s</text><text class="cls-3" transform="translate(35.51 186.66) rotate(69.37)"> </text><text class="cls-3" transform="matrix(0.47, 0.88, -0.88, 0.47, 41.27, 201.28)">C</text><text class="cls-3" transform="matrix(0.58, 0.81, -0.81, 0.58, 48.91, 215.03)">E</text><text class="cls-3" transform="matrix(0.67, 0.74, -0.74, 0.67, 58.13, 227.36)">R</text><text class="cls-3" transform="translate(69.16 238.92) rotate(39.44)">T</text><text class="cls-3" transform="matrix(0.85, 0.53, -0.53, 0.85, 81.47, 248.73)">I</text><text class="cls-3" transform="translate(94.94 256.83) rotate(24.36)">F</text><text class="cls-3" transform="translate(109.34 263.09) rotate(16.83)">I</text><text class="cls-3" transform="translate(124.46 267.41) rotate(9.34)">E</text><text class="cls-3" transform="translate(139.99 269.73) rotate(1.88)">D</text><text class="cls-3" transform="translate(155.7 270.01) rotate(-5.58)"> </text><text class="cls-3" transform="translate(171.32 268.24) rotate(-13.06)"> </text><text class="cls-2" transform="translate(187.55 266.81) rotate(-21.04)">.</text><text class="cls-3" transform="translate(203.27 257.7) rotate(-29.24)"> </text><text class="cls-3" transform="translate(216.84 249.83) rotate(-36.75)"> </text><text class="cls-3" transform="translate(229.26 240.26) rotate(-44.15)">2</text><text class="cls-3" transform="translate(240.39 229.13) rotate(-51.62)">0</text><text class="cls-3" transform="translate(249.97 216.63) rotate(-59.17)">2</text><text class="cls-3" transform="matrix(0.4, -0.92, 0.92, 0.4, 257.81, 203.04)">2</text><path class="cls-4" d="M196.64,136.31s3.53,3.8,8.5,3.8c3.9,0,6.75-2.37,6.75-5.59,0-4-3.64-5.81-8-5.81h-2.59l-1.53-3.48,6.86-8.13a34.07,34.07,0,0,1,2.7-2.85s-1.11,0-3.33,0H194.79v-5.86H217.7v4.28l-9.19,10.61c5.18.74,10.24,4.43,10.24,10.92s-4.85,12.3-13.19,12.3a17.36,17.36,0,0,1-12.41-5Z"></path><path class="cls-4" d="M152,144.24l30.24,53.86,14.94-26.61L168.6,120.63H135.36l-13.78,24.53-13.77-24.53H77.93l43.5,77.46.15-.28.16.28Z"></path></svg>
</div>
<!-- w3 course ends -->
<!-- How to section start -->
<section class="slideshow_section">
<h2><b>How To Section</b></h2>
<h4>Code snippets for HTML, CSS and JavaScript</h4>
<h6>For example, how to create a slideshow:</h6>
<div class="slideshow_main_container">
<div class="icon-url_main_container">
<div class="icondiv">
<div class="closeicon"></div>
<div class="minimizeicon"></div>
<div class="maximizeicon"></div>
</div>
<div class="urldiv">
<p>www.w3schools.com/howto/</p>
</div>
</div>
<div class="slideshow_container">
<div class="slide fade">
<div class="num_text">1/3</div>
<img src="assests/uploads/img_mountains.jpg" alt="Mountain Image">
<div class="caption_text">Caption Text</div>
</div>
<div class="slide fade">
<div class="num_text">2/3</div>
<img src="assests/uploads/img_nature.jpg" alt="Mountain Image">
<div class="caption_text">Caption Two</div>
</div>
<div class="slide fade">
<div class="num_text">3/3</div>
<img src="assests/uploads/img_snow.jpg" alt="Mountain Image">
<div class="caption_text">Caption Three</div>
</div>
<!-- for next and previous buttons -->
<a class="previous" onclick="plusSlides(-1)">❮</a>
<a class="next" onclick="plusSlides(1)">❯</a>
</div>
<br />
<!-- The dots/circles -->
<div class="dot_group">
<span class="dot" onclick="currentSlide(1)"></span>
<span class="dot" onclick="currentSlide(2)"></span>
<span class="dot" onclick="currentSlide(3)"></span>
</div>
</div>
<div class="stand_parent">
<div class="stand"></div>
<div class="stand2">
<a href="https://www.w3schools.com/howto/default.asp">LEARN HOW TO</a>
</div>
</div>
</section>
<!-- How to section ends -->
<!--Section footer starts-->
<footer>
<div class="footer">
<div class="main-footer">
<div class="footer-left">
<a href="#" target="_blank"><button class="footerbtn courses">Courses</button></a>
<a href="#" target="_blank"><button class="footerbtn quizes">Quizes</button></a>
<a href="#" target="_blank"><button class="footerbtn exercise">Exercises</button></a>
<a href="#" target="_blank"><button class="footerbtn pro">Pro</button></a>
<a href="#" target="_blank"><button class="footerbtn space">Spaces</button></a>
</div>
<div class="footer-right">
<div class="right-links">
<a href="#" class="head-1">Forem</a>
<a href="#" class="head-2">About</a>
</div>
</div>
</div>
<div class="social-links">
<a href="#"><i class="fa-brands fa-facebook-square"></i></a>
<a href="#"><i class="fa-brands fa-instagram"></i></a>
<a href="#"><i class="fa-brands fa-linkedin"></i></a>
<a href="#"><i class="fa-brands fa-discord"></i></a>
</div>
<div class="content">
<p class="footer-paragraph">W3Schools is optimized for learning, testing, and training. Examples might be
simplified to improve reading
and basic understanding. Tutorials, references, and examples are constantly reviewed to avoid errors,but we
cannot warrant full
</p>
<p class="footer-paragraph"> correctness of all content. While using this site,
you agree to have read and accepted our <a href="#">terms of use,cookie and privacy policy.</a>
</p>
<p class="footer-paragraph"><a href="#">Copyright 1999-2022</a> by Refsnes Data. All Rights Reserved.</p>
</p>
</div>
<div class="likebtn">
<a href="#"><i class="fa-solid fa-thumbs-up"></i></a>
</div>
<a href="#" class="end-btn">
<button id="btn-shop">
W3Schools Shop
</button>
</a><br><br><br>
</div>
</footer>
<!--Section footer ends-->
<script src="assests/js/script.js"></script>
</body>
</html>