What is JavaScript

JavaScript is a versatile, high-level programming language that enables interactive and dynamic functionality on websites.

JavaScript was created in 1995 to add interactivity to web pages. JavaScript has evolved over the years with more features and abilities and it is now one of the most popular programming languages in the world.

Most of the time, JavaScript runs in web browsers working alongside HTML and CSS to create interactive web pages, allowing developers to build responsive user interfaces. It is also possible to run JavaScript directly on your computer without a browser by using a runtime environment called Node.JS

<aside> ⚠️

Important note: Do not confuse JavaScript and Java - they are completely different programming languages, despite the similar names.

</aside>

Writing your first program

Watch and follow

Here is a great tutorial to get you started with your first JavaScript application.

<aside> ▶️

Instructions for the video: Watch the first 30 minutes and try to follow along.

After 30 minutes, the video talks about objects, arrays and functions. Those are not required for the technical assignment but if you are are welcome to learn more.

</aside>

https://www.youtube.com/watch?v=W6NZfCO5SIk

After this video you should be able

  1. Write a small JavaScript program in VSCode
  2. Run JavaScript code on your browser
  3. Run JavaScript from the command line using Node.JS
  4. Understand what is a variable
  5. Understand the difference between let and const
  6. Understand the different types of variables: number, boolean, string , null