-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFull-Stack-Web-Developer.html
More file actions
675 lines (576 loc) · 23.8 KB
/
Full-Stack-Web-Developer.html
File metadata and controls
675 lines (576 loc) · 23.8 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="A Full Stack Boss - Album Project">
<meta name="generator" content="A Full Stack Boss">
<title>A Full Stack Boss - Album Project</title>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<link rel="canonical" href="https://getbootstrap.com/docs/4.5/examples/album/">
<link rel="stylesheet" type="text/css" href="afsb.css"></li>
</head>
<body>
</head>
<body>
<div class="container">
<header class="blog-header py-3">
<div class="row flex-nowrap justify-content-between align-items-center">
<div class="col-4 pt-1">
<a class="text-muted" href="#">Subscribe</a>
</div>
<div class="col-4 text-center">
<a class="blog-header-logo text-dark" href="#">Large</a>
</div>
<div class="col-4 d-flex justify-content-end align-items-center">
<a class="text-muted" href="#" aria-label="Search">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="mx-3" role="img" viewBox="0 0 24 24" focusable="false"><title>Search</title><circle cx="10.5" cy="10.5" r="7.5"/><path d="M21 21l-5.2-5.2"/></svg>
</a>
<a class="btn btn-sm btn-outline-secondary" href="#">Sign up</a>
</div>
</div>
</header>
<div class="nav-scroller py-1 mb-2">
<nav class="nav d-flex justify-content-between">
<a class="p-2 text-muted" href="#">World</a>
<a class="p-2 text-muted" href="#">U.S.</a>
<a class="p-2 text-muted" href="#">Technology</a>
<a class="p-2 text-muted" href="#">Design</a>
<a class="p-2 text-muted" href="#">Culture</a>
<a class="p-2 text-muted" href="#">Business</a>
<a class="p-2 text-muted" href="#">Politics</a>
<a class="p-2 text-muted" href="#">Opinion</a>
<a class="p-2 text-muted" href="#">Science</a>
<a class="p-2 text-muted" href="#">Health</a>
<a class="p-2 text-muted" href="#">Style</a>
<a class="p-2 text-muted" href="#">Travel</a>
</nav>
</div>
<div class="jumbotron p-4 p-md-5 text-white rounded bg-dark">
<div class="col-md-12 px-0">
<h1 class="display-4 font-italic">Full Stack Web Developer</h1>
<p class="lead my-3">Multiple lines of text that form the lede, informing new readers quickly and efficiently about what’s most interesting in this post’s contents.</p>
<p class="lead mb-0"><a href="#" class="text-white font-weight-bold">Continue reading...</a></p>
</div>
</div>
<div class="row mb-2">
<div class="col-md-6">
<div class="row no-gutters border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
<div class="col p-4 d-flex flex-column position-static">
<strong class="d-inline-block mb-2 text-primary">World</strong>
<h3 class="mb-0">Featured post</h3>
<div class="mb-1 text-muted">Nov 12</div>
<p class="card-text mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="stretched-link">Continue reading</a>
</div>
<div class="col-auto d-none d-lg-block">
<svg class="bd-placeholder-img" width="200" height="250" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg>
</div>
</div>
</div>
<div class="col-md-6">
<div class="row no-gutters border rounded overflow-hidden flex-md-row mb-4 shadow-sm h-md-250 position-relative">
<div class="col p-4 d-flex flex-column position-static">
<strong class="d-inline-block mb-2 text-success">Design</strong>
<h3 class="mb-0">Post title</h3>
<div class="mb-1 text-muted">Nov 11</div>
<p class="mb-auto">This is a wider card with supporting text below as a natural lead-in to additional content.</p>
<a href="#" class="stretched-link">Continue reading</a>
</div>
<div class="col-auto d-none d-lg-block">
<svg class="bd-placeholder-img" width="200" height="250" xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMidYMid slice" focusable="false" role="img" aria-label="Placeholder: Thumbnail"><title>Placeholder</title><rect width="100%" height="100%" fill="#55595c"/><text x="50%" y="50%" fill="#eceeef" dy=".3em">Thumbnail</text></svg>
</div>
</div>
</div>
</div>
</div>
<main role="main" class="container">
<div class="row">
<div class="col-md-8 blog-main">
<h3 class="pb-4 mb-4 font-italic border-bottom">
From the Roland Diaz
</h3>
<div class="blog-post">
<h2 class="blog-post-title">About Full Stack Web Developer</h2>
<p class="blog-post-meta">Ausgut 25, 2020 by <a href="#">Roland</a></p>
<p>This blog post shows the functions of a Full Stack Web Developer</p>
<hr>
<h3>What is Full Stack Web Developer?</h3>
<p style="text-align: justify;">We are looking for a highly skilled computer programmer who is comfortable with both front and back end programming. Full Stack Developers are responsible for developing and designing front end web architecture, ensuring the responsiveness of applications and working alongside graphic designers for web design features, among other duties.</p>
<p style="text-align: justify;">Full Stack Developers will be required to see out a project from conception to final product, requiring good organizational skills and attention to detail.</p>>
<p style="text-align: justify;">We are looking for a highly skilled computer programmer who is comfortable with both front and back end programming. Full Stack Developers are responsible for developing and designing front end web architecture, ensuring the responsiveness of applications and working alongside graphic designers for web design features, among other duties.</p>
<p style="text-align: justify;">Full Stack Developers will be required to see out a project from conception to final product, requiring good organizational skills and attention to detail.</p>
<h4 style="text-align: justify;">Responsibilities:</h4>
<li>Developing front end website architecture</li>
<li>Designing user interactions on web pages</li>
<li>Knows how to troubleshoot and identify front end and back end issues</li>
<li>Ensuring cross-platform optimization for mobile phones</li>
<li>Ensuring responsiveness of websites and web applications</li>
<li>Working/Designing alongside graphic designers for web design features</li>
<li>Seeing through a project from conception to finished product</li>
<li>Designing and developing APIs</li>
<li>Meeting both technical and consumer needs</li>
<li>Staying abreast of developments in web designs, applications and programming languages</li>
<h4>Requirements:</h4>
<p style="text-align: justify;">Bachelor’s Degree in Computer Science, Information Technology, or equivalent
Has at least 3-5 years of experience in front end and back end programming
Has experience in website creation for clients
Proficiency with fundamental front-end languages such as HTML, CSS and JavaScript – must have
Familiarity with database technology such as MySQL, Oracle and MongoDB – must have
Familiarity with JavaScript frameworks such as Angular JS, React and Amber – good to have
Proficiency with server-side languages such as Python, Ruby, Java, PHP and .Net – good to have
Background in UI/UX, SEO, and PPC a plus
Strong organizational and project management skills
Excellent verbal communication skills.
Proactive and has excellent analytical & problem-solving skills
Attention to detail
Customer experience background a plus
Amenable to work on a mid-shift (4 pm-12 mn) schedule</p>
<p style="text-align: justify;">LexisNexis Legal & Professional (www.lexisnexis.com) is a leading global provider of content and technology solutions that enable professionals in legal, corporate, tax, government, academic and non-profit organizations to make informed decisions and achieve better business outcomes. As a digital pioneer, the company was the first to bring legal and business information online with its Lexis« and Nexis« services. Today, LexisNexis Legal & Professional harnesses leading-edge technology and world-class content, to help professionals work in faster, easier and more effective ways. Through close collaboration with its customers, the company ensures organizations can leverage its solutions to reduce risk, improve productivity, increase profitability and grow their business. Part of RELX Group plc, LexisNexis Legal & Professional serves customers in more than 100 countries with 10,000 employees worldwide.</p>
<p style="text-align: justify;">LexisNexis, a division of RELX Group, is an equal opportunity employer: qualified applicants are considered for and treated during employment without regard to race, color, creed, religion, sex, national origin, citizenship status, disability status, protected veteran status, age, marital status, sexual orientation, gender identity, genetic information, or any other characteristic protected by law. If a qualified individual with a disability or disabled veteran needs a reasonable accommodation to use or access our online system, that individual should please contact 1.877.734.1938 or accommodations@relx.com.</p>
</div><!-- /.blog-post -->
<nav class="blog-pagination">
<a class="btn btn-outline-primary" href="#">Older</a>
<a class="btn btn-outline-secondary disabled" href="#" tabindex="-1" aria-disabled="true">Newer</a>
</nav>
</div><!-- /.blog-main -->
<aside class="col-md-4 blog-sidebar">
<div class="p-4 mb-3 bg-light rounded">
<h4 class="font-italic">About</h4>
<p class="mb-0">Etiam porta <em>sem malesuada magna</em> mollis euismod. Cras mattis consectetur purus sit amet fermentum. Aenean lacinia bibendum nulla sed consectetur.</p>
</div>
<div class="p-4">
<h4 class="font-italic">Archives</h4>
<ol class="list-unstyled mb-0">
<li><a href="#">March 2014</a></li>
<li><a href="#">February 2014</a></li>
<li><a href="#">January 2014</a></li>
<li><a href="#">December 2013</a></li>
<li><a href="#">November 2013</a></li>
<li><a href="#">October 2013</a></li>
<li><a href="#">September 2013</a></li>
<li><a href="#">August 2013</a></li>
<li><a href="#">July 2013</a></li>
<li><a href="#">June 2013</a></li>
<li><a href="#">May 2013</a></li>
<li><a href="#">April 2013</a></li>
</ol>
</div>
<div class="p-4">
<h4 class="font-italic">Elsewhere</h4>
<ol class="list-unstyled">
<li><a href="#">GitHub</a></li>
<li><a href="#">Twitter</a></li>
<li><a href="#">Facebook</a></li>
</ol>
</div>
</aside><!-- /.blog-sidebar -->
</div><!-- /.row -->
<h2>What Can JavaScript Do?</h2>
<p id="id1">JavaScript can change HTML content.</p>
<button type="button" onclick='document.getElementById("id1").innerHTML = "Hello JavaScript!"'>Click Me!</button>
<h2>What Can JavaScript Do?</h2>
<p>JavaScript can change HTML attribute values.</p>
<p>In this case JavaScript changes the value of the src (source) attribute of an image.</p>
<button onclick="document.getElementById('myImage').src='img/pic_bulbon.gif'">Turn on the light</button>
<img id="myImage" src="img/pic_bulboff.gif" style="width:100px">
<button onclick="document.getElementById('myImage').src='img/pic_bulboff.gif'">Turn off the light</button>
<h2>What Can JavaScript Do?</h2>
<p id="id2">JavaScript can change the style of an HTML element.</p>
<button type="button" onclick="document.getElementById('id2').style.fontSize='35px'">Click Me!</button>
<h2>What Can JavaScript Do?</h2>
<p id="id3">JavaScript can hide HTML elements.</p>
<button type="button" onclick="document.getElementById('id3').style.display='none'">Click Me!</button>
<h2>What Can JavaScript Do?</h2>
<p>JavaScript can show hidden HTML elements.</p>
<p id="id4" style="display:none">Hello JavaScript!</p>
<button type="button" onclick="document.getElementById('id4').style.display='block'">Click Me!</button>
<h2>JavaScript in Body</h2>
<p id="id5"></p>
<h2>JavaScript in Head</h2>
<p id="id6">A Paragraph.</p>
<button type="button" onclick="myHead()">Try it</button>
<h2>My First Web Page</h2>
<p>My First Paragraph.</p>
<p id="id7"></p>
<h2>My First Web Page</h2>
<p>My first paragraph.</p>
<p>Never call document.write after the document has finished loading.
It will overwrite the whole document.</p>
<script>document.write(5 + 6);</script>
<h2>My First Web Page</h2>
<p>My first paragraph.</p>
<button type="button" onclick="document.write(5 + 6)">Try it</button>
<script>
window.alert("Welcome to a Full Stack Web Developer");
</script>
<h2>Activate Debugging</h2>
<p>F12 on your keybord will activate debugging.</p>
<p>Then select "Console" in the debugger menu.</p>
<p>Then click Run again.</p>
<script>console.log(5 * 6 * 7 + 6 + 55 - 2);</script>
<h2>The window.print() Method</h2>
<p>Click the button to print the current page.</p>
<button onclick="window.print()">Print this page</button>
<h2>JavaScript Statements</h2>
<p>A <b>JavaScript program</b> is a list of <b>statements</b> to be executed by a computer.</p>
<p id="id8"></p>
<script>
var x, y, z; // Statement 1
x = 5; // Statement 2
y = 6; // Statement 3
z = x + y; // Statement 4
document.getElementById("id8").innerHTML =
"The value of z is " + z + ".";
</script>
<h2>JavaScript Statements</h2>
<p>In HTML, JavaScript statements are executed by the browser.</p>
<p id="id9"></p>
<script>
document.getElementById("id9").innerHTML = "Hello Roland Diaz";
</script>
<h2>JavaScript Statements</h2>
<p>JavaScript statements are separated by semicolons.</p>
<p id="id10"></p>
<script>
var a, b, c;
a = 5;
b = 6;
c = a + b;
document.getElementById("id10").innerHTML = c;
</script>
<h2>JavaScript Statements</h2>
<p>Multiple statements on one line is allowed.</p>
<p id="id11"></p>
<script>
var a, b, c;
a = 5; b = 6; c = a + b;
document.getElementById("id11").innerHTML = c;
</script>
<h2>JavaScript Statements</h2>
<p>
The best place to break a code line is after an operator or a comma.
</p>
<p id="id12"></p>
<script>
document.getElementById("id12").innerHTML =
"Hello Dolly!";
</script>
<h2>JavaScript Statements</h2>
<p>JavaScript code blocks are written between { and }</p>
<button type="button" onclick="myFunction()">Click Me!</button>
<p id="id13"></p>
<p id="id14"></p>
<script>
function myFunction() {
document.getElementById("id13").innerHTML = "Hello Dolly!";
document.getElementById("id14").innerHTML = "How are you?";
}
</script>
<h2>JavaScript Numbers</h2>
<p>Number can be written with or without decimals.</p>
<p id="id15"></p>
<script>
document.getElementById("id15").innerHTML = 10.50;
</script>
<h2>JavaScript Strings</h2>
<p>Strings can be written with double or single quotes.</p>
<p id="id16"></p>
<script>
document.getElementById("id16").innerHTML = 'John Doe';
</script>
<h2>JavaScript Variables</h2>
<p>In this example, x is defined as a variable.
Then, x is assigned the value of 6:</p>
<p id="id17"></p>
<script>
var x;
x = 6;
document.getElementById("id17").innerHTML = x;
</script>
<h2>JavaScript Operators</h2>
<p>JavaScript uses arithmetic operators to compute values (just like algebra).</p>
<p id="id18"></p>
<script>
document.getElementById("id18").innerHTML = (5 + 6) * 10;
</script>
<h2>Assigning JavaScript Values</h2>
<p>In JavaScript the = operator is used to assign values to variables.</p>
<p id="id19"></p>
<script>
var x, y;
x = 5;
y = 6;
document.getElementById("id19").innerHTML = x + y;
</script>
<h2>JavaScript Expressions</h2>
<p>Expressions compute to values.</p>
<p id="id20"></p>
<script>
document.getElementById("id20").innerHTML = 5 * 10;
</script>
<h2>JavaScript Expressions</h2>
<p>Expressions compute to values.</p>
<p id="id21"></p>
<script>
var x;
x = 5;
document.getElementById("id21").innerHTML = x * 10;
</script>
<h2>JavaScript Expressions</h2>
<p>Expressions compute to values.</p>
<p id="id22"></p>
<script>
document.getElementById("id22").innerHTML = "John" + " " + "Doe";
</script>
<h2>The var Keyword Creates Variables</h2>
<p id="id23"></p>
<script>
var x, y;
x = 5 + 6;
y = x * 10;
document.getElementById("id23").innerHTML = y;
</script>
<h2>JavaScript Comments are NOT Executed</h2>
<p id="id24"></p>
<script>
var x;
x = 5;
// x = 6; I will not be executed
document.getElementById("id24").innerHTML = x;
</script>
<h2>JavaScript is Case Sensitive</h2>
<p>Try change lastName to lastname.</p>
<p id="id25"></p>
<script>
var lastname, lastName;
lastName = "Doe";
lastname = "Peterson";
document.getElementById("id25").innerHTML = lastName;
</script>
<h1 id="myH"></h1>
<p id="myP"></p>
<script>
// Change heading:
document.getElementById("myH").innerHTML = "JavaScript Comments";
// Change paragraph:
document.getElementById("myP").innerHTML = "My first paragraph.";
</script>
<h2>JavaScript Comments</h2>
<p id="id126"></p>
<script>
var x = 5; // Declare x, give it the value of 5
var y = x + 2; // Declare y, give it the value of x + 2
// Write y to demo:
document.getElementById("id126").innerHTML = y;
</script>
<h1 id="myH1"></h1>
<p id="myP1"></p>
<script>
/*
The code below will change
the heading with id = "myH"
and the paragraph with id = "myP"
*/
document.getElementById("myH1").innerHTML = "JavaScript Comments";
document.getElementById("myP1").innerHTML = "My first paragraph.";
</script>
<h2>JavaScript Comments</h2>
<h1 id="myH2"></h1>
<p id="myP2"></p>
<script>
//document.getElementById("myH").innerHTML = "My First Page";
document.getElementById("myP2").innerHTML = "My first paragraph.";
</script>
<p>The line starting with // is not executed.</p>
<h2>JavaScript Comments</h2>
<h1 id="myH3"></h1>
<p id="myP3"></p>
<script>
/*
document.getElementById("myH").innerHTML = "Welcome to my Homepage";
document.getElementById("myP").innerHTML = "This is my first paragraph.";
*/
document.getElementById("myP3").innerHTML = "The comment-block is not executed.";
</script>
<h2>JavaScript Variables</h2>
<p>In this example, x, y, and z are variables.</p>
<p id="126"></p>
<script>
var x = 5;
var y = 6;
var z = x + y;
document.getElementById("126").innerHTML =
"The value of z is: " + z;
</script>
<h2>JavaScript Variables</h2>
<p id="id127"></p>
<script>
var price1 = 5;
var price2 = 6;
var total = price1 + price2;
document.getElementById("127").innerHTML =
"The total is: " + total;
</script>
<h2>JavaScript Variables</h2>
<p>Strings are written with quotes.</p>
<p>Numbers are written without quotes.</p>
<p id="128"></p>
<script>
var pi = 3.14;
var person = "John Doe";
var answer = 'Yes I am!';
document.getElementById("128").innerHTML =
pi + "<br>" + person + "<br>" + answer;
</script>
<h2>JavaScript Variables</h2>
<p>Create a variable, assign a value to it, and display it:</p>
<p id="129"></p>
<script>
var carName = "Volvo";
document.getElementById("129").innerHTML = carName;
</script>
<h2>JavaScript Variables</h2>
<p>You can declare many variables in one statement.</p>
<p id="130"></p>
<script>
var person = "John Doe", carName = "Volvo", price = 200;
document.getElementById("130").innerHTML = carName;
</script>
<h2>JavaScript Variables</h2>
<p>A variable declared without a value will have the value undefined.</p>
<p id="131"></p>
<script>
var carName;
document.getElementById("131").innerHTML = carName;
</script>
<h2>JavaScript Variables</h2>
<p>If you re-declare a JavaScript variable, it will not lose its value.</p>
<p id="132"></p>
<script>
var carName = "132";
var carName;
document.getElementById("132").innerHTML = carName;
</script>
<h2>JavaScript Variables</h2>
<p>The result of adding 5 + 2 + 3:</p>
<p id="133"></p>
<script>
var x = 5 + 2 + 3;
document.getElementById("133").innerHTML = x;
</script>
<h2>JavaScript Variables</h2>
<p>The result of adding "John" + " " + "Doe":</p>
<p id="134"></p>
<script>
var x = "John" + " " + "Doe";
document.getElementById("134").innerHTML = x;
</script>
<h2>JavaScript Variables</h2>
<p>The result of adding "5" + 2 + 3:</p>
<p id="135"></p>
<script>
x = "5" + 2 + 3;
document.getElementById("135").innerHTML = x;
</script>
<h2>JavaScript Variables</h2>
<p>The result of adding 2 + 3 + "5":</p>
<p id="136"></p>
<script>
var x = 2 + 3 + "5";
document.getElementById("136").innerHTML = x;
</script>
<h2>JavaScript $</h2>
<p>The dollar sign is treated as a letter in JavaScript names.</p>
<p id="137"></p>
<script>
var $ = 2;
var $myMoney = 5;
document.getElementById("137").innerHTML = $ + $myMoney;
</script>
<h2>JavaScript $</h2>
<p>The underscore is treated as a letter in JavaScript names.</p>
<p id="138"></p>
<script>
var _x = 2;
var _100 = 5;
document.getElementById("138").innerHTML = _x + _100;
</script>
<h2>JavaScript Functions</h2>
<p>This example calls a function which performs a calculation, and returns the result:</p>
<p id="139"></p>
<script>
function myFunction(p1, p2) {
return p1 * p2;
}
document.getElementById("139").innerHTML = myFunction(4, 3);
</script>
<h2>JavaScript Functions</h2>
<p>This example calls a function which performs a calculation and returns the result:</p>
<p id="140"></p>
<script>
var x = myFunction(4, 3);
document.getElementById("140").innerHTML = x;
function myFunction(a, b) {
return a * b;
}
</script>
<h2>JavaScript Functions</h2>
<p>This example calls a function to convert from Fahrenheit to Celsius:</p>
<p id="141"></p>
<script>
function toCelsius(f) {
return (5/9) * (f-32);
}
document.getElementById("141").innerHTML = toCelsius(77);
</script>
<h2>JavaScript Functions</h2>
<p>Accessing a function without () will return the function definition instead of the function result:</p>
<p id="142"></p>
<script>
function toCelsius(f) {
return (5/9) * (f-32);
}
document.getElementById("142").innerHTML = toCelsius;
</script>
<h2>JavaScript Functions</h2>
<p id="143"></p>
<script>
document.getElementById("143").innerHTML =
"The temperature is " + toCelsius(77) + " Celsius";
function toCelsius(fahrenheit) {
return (5/9) * (fahrenheit-32);
}
</script>
<h2>JavaScript Functions</h2>
<p>Outside myFunction() carName is undefined.</p>
<p id="144"></p>
<p id="145"></p>
<script>
myFunction();
function myFunction() {
var carName = "Volvo";
document.getElementById("144").innerHTML =
typeof carName + " " + carName;
}
document.getElementById("145").innerHTML =
typeof carName;
</script>
</main><!-- /.container -->
<footer class="text-muted">
<div class="container">
<p>Album example is © Bootstrap, but please download and customize it for yourself!</p>
<p>New to Bootstrap? <a href="https://getbootstrap.com/">Visit the homepage</a> or read our <a href="../getting-started/introduction/">getting started guide</a>.</p>
<p class="float-right">
<a href="#">Back to top</a>
</p>
</div>
</footer>
</body>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script src="afsb.js"></script>
</html>