JavaScript

JavaScript

JavaScript is used in all web pages it is what makes it all come to life.

What is JavaScript ?

JavaScript is a Programming language, JavaScript, often abbreviated JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS.

JavaScript is what makes (your) web pages come to life it is what makes you interact with your web page like : (buttons, being able to type, change of pictures) so on .

Here is a picture of what JavaScript can do:

j.png

a.jpg

v.jpg

Basic tags with JavaScript

<script></script> - used to link HTML to JavaScript
functions - to make functions
var - to make variables
let - to make variables
for of loop - to loop through variables
if (else) - to show this or else that
console.log - to print the code on the console
return - usually used for if(else)

There isn't suppose to be a bracket iam just showing you guys .

Fun Facts about JavaScript

JavaScript took just 10 days to develop.

JavaScript was invented in 1995 by Brendan Eich for use with the Netscape 2 browser. The original name for JavaScript was Mocha. In my opinion, I’ve gotten a few too many questions from non-programmers confusing JavaScript and Java, so maybe Mocha would have been the right call.

Thank you!