Skip to content

Free course · 21 lessons

Free JavaScript Course

The language of the web: variables, functions, the DOM, async code, Node.js and React.

JavaScript is the programming language built into web browsers. It's what makes a page respond when you click, type or scroll, and with tools such as Node.js it also runs on servers and in other programs. Despite the name, it has nothing to do with Java. This free JavaScript course is for beginners who want to understand how interactive websites work. A little HTML helps but isn't required, and you need no account, email or payment.

The outline lists every lesson in order. It begins with setting up and how to approach learning, then covers variables and data types, strings, numbers, arrays, objects and functions, followed by if and switch statements and loops. Next comes working with the page itself, the DOM, and responding to events, then asynchronous code: promises, async/await and fetching data. Later lessons cover classes, dates and regular expressions, then Node.js and React, and the course ends with projects, interview preparation and practical tips.

Start at lesson 1 and work down the list. Each time you finish a lesson, tick "Mark lesson complete". The progress bar is stored only in your browser on this device, so nothing is uploaded and there's nothing to log in to. The course follows modern JavaScript as defined by the ECMAScript standard, whose latest edition is ECMAScript 2026. Lessons are published one at a time; those not yet live are marked "Coming soon".

Your progress0 of 21 lessons complete

Saved in this browser only. No account needed.

Lessons are being published in order. Each one becomes a link below as soon as it's ready.

Course outline

  1. 1What is JavaScript + setupComing soon
  2. 2How to learn JavaScriptComing soon
  3. 3Variables + data typesComing soon
  4. 4StringsComing soon
  5. 5Numbers + mathComing soon
  6. 6ArraysComing soon
  7. 7ObjectsComing soon
  8. 8FunctionsComing soon
  9. 9If + switchComing soon
  10. 10LoopsComing soon
  11. 11DOMComing soon
  12. 12EventsComing soon
  13. 13Async, promises, fetchComing soon
  14. 14ClassesComing soon
  15. 15DatesComing soon
  16. 16RegexComing soon
  17. 17Node.jsComing soon
  18. 18ReactComing soon
  19. 19JavaScript projectsComing soon
  20. 20Interview + jobsComing soon
  21. 21JavaScript tips + how-tosComing soon

Frequently asked questions

Is this JavaScript course really free?

Yes. All lessons are free, with no sign-up, email or paywall. Your progress is saved in your own browser.

Is JavaScript the same as Java?

No. They're separate languages with very different syntax, behaviour and uses, and Mozilla's JavaScript documentation specifically warns learners not to confuse the two.

Do I need to install anything?

No. Every modern web browser runs JavaScript, so you can start in the browser's developer console. Node.js is an optional free download if you later want to run JavaScript outside the browser.

What is ECMAScript, and which version should I learn?

ECMAScript is the official standard behind JavaScript, published by Ecma International as ECMA-262. The latest edition is ECMAScript 2026 (the 17th). Learning modern JavaScript means learning what current browsers support, and this course follows that.

Do I need to learn HTML and CSS first?

Not for the early lessons, which are pure JavaScript. Basic HTML helps once the course reaches the DOM and events, and the lessons explain the parts you need. Our free HTML course covers the rest.