1. How To JavaScript: An Introduction

What is a programming language?

What is JavaScript?

Why “Java”Script?

How do Engines Work?

Hello, World!

alert(“Hello, World!”);
alert(“Hello,”); alert(“World!”);
alert(“Hello,”) alert(“World!”)
alert(3 +
+ 2);


// This is a comment spanning over a single line. 
alert("Hello, World!"); // This comment follows the statement
alert(“Hello, World!”); // Following code will be ignored alert(“Hello again!”);
/* This comment
lines */
alert(“Hello, World!”);
A nested comment that would kill the code’s execution with an error
alert(“Hello, World!”);
// Outputs Hello World
alert("Hello, World!");
// logs the message on console.
console.log("Hello, World!");

💻 Engineer working remotely 🏔 Trying to figure out solutions no one’s thinking about 💭 because “normalcy” is too mainstream 🤷🏻‍♂️

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store