What is JavaScript?
What is JavaScript? The language that makes pages interactive. Our Introduction explains JavaScript vs HTML/CSS with a live button you can click.
Add interactivity with the language of the web.
const btn = document.getElementById("btn"); btn.addEventListener("click", () => { alert("Hello!"); });
Searching for javascript tutorial (299) or best way to learn javascript (1,949)? This 18-lesson track is the fastest way — live editor on every lesson.
What is JavaScript? The language that makes pages interactive. Our Introduction explains JavaScript vs HTML/CSS with a live button you can click.
Go from Variables and Functions to DOM, Events, Fetch and JSON. Each lesson has a runnable example.
Make counters, lists and data apps with Array methods, DOM and Fetch API. All code is copy-ready.
No setup. Every lesson has a live editor — change variables and see the result.
We teach ES6, promises, fetch and localStorage — the skills jobs require.
No account. Your code never leaves your browser.

Follow in order or jump to any lesson. Every lesson has a live editor.
First 6 lessons
01Introduction→02Variables→03Operators→04Functions→05Conditions→06Loops→Next 6 lessons
07Arrays→08Array Methods→09String Methods→Final 6 lessons
13Events→14Error Handling→15ES6+→16Promises→17Local Storage→18Fetch API→JavaScript makes pages interactive — buttons, forms, data. See Introduction.
Write code and see the result instantly — every lesson here has a live editor.
No — it runs in your browser. Node.js is for server use.
Here you run code live versus static examples. Try Variables.