Learnmonkey Learnmonkey Logo
× Warning:

The tutorial you are reading is currently a work in-progress.

Introduction to JavaScript

What is JavaScript

Currently, our websites only have HTML and CSS. Sure, they look pretty, but when you do something, nothing happens. So boring. JavaScript is the key to making our websites interactive. Using JavaScript, we can do things like make something happen when a button is clicked, cookies for storage, and more.

Unlike HTML and CSS, JavaScript is a real programming language. There are things like variables, loops, function and all the rest of the things you'd expect from a programming language.

JavaScript Logo

How can I run JavaScript?

It's just like CSS. You can directly put JavaScript code in your HTML files or create a new file and reference it from your HTML. You can run JavaScript directly, but that's more advanced and we won't be covering it in this course.

Prerequisites