Scriptoria
Learn JavaScript
The language of the web. Learn it by writing real code from lesson one.
Learn JavaScript online with interactive lessons. Write real JavaScript in your browser, pass tests, earn XP and defeat bosses. First chapter free.
First 8 lessons free · Finish within 30 days after buying and get $10.50 back
Want more than one course?
The All-Access Pass unlocks all 8 courses and every new one we release, for $120 once.
Course map
6 chapters, 34 lessons
- 10/8
Fundamentals
Write your first JavaScript programs with console.log, variables, numbers, strings, if/else and loops. Free to play, no account needed.
- 1Hello, World! Your First JavaScript ProgramEasy · 10 XPFree
- 2JavaScript Variables: let, const and Data TypesEasy · 10 XPFree
- 3JavaScript Numbers and Math OperatorsEasy · 10 XPFree
- 4JavaScript Strings and Template LiteralsEasy · 10 XPFree
- 5JavaScript if/else Statements and Comparison OperatorsEasy · 10 XPFree
- 6JavaScript Loops: for and whileMedium · 20 XPFree
- Quiz: JavaScript FundamentalsQuiz · 10 XPFree
Boss: Grumblebeard the Bridge TrollHard · 100 XPFree
- 20/6
Functions
Package logic into reusable JavaScript functions with parameters, default values, arrow functions, scope, closures and callbacks.
- JavaScript Functions: Parameters and Return ValuesEasy · 10 XP
- JavaScript Arrow Functions ExplainedEasy · 10 XP
- JavaScript Scope and ClosuresMedium · 20 XP
- JavaScript Callbacks and Higher-Order FunctionsMedium · 20 XP
- Quiz: JavaScript Functions and ClosuresQuiz · 10 XP
Boss: Morgath the HexweaverHard · 100 XP
- 30/5
Arrays
Store lists of data and transform them with push, slice, map, filter, reduce, find, sort, spread and destructuring.
- 40/5
Objects
Model real-world data with objects, methods and this, destructuring, Object.entries, JSON, Map and Set.
- 50/5
Classes & Errors
Build blueprints with classes, private fields, getters, setters, inheritance and static members, and handle errors like a pro.
- 60/5
Async JavaScript
Understand the event loop and write non-blocking code with setTimeout, promises, async/await and Promise.all.
About this JavaScript course
JavaScript is the language of the web. It runs in every browser on the planet, powers servers with Node.js, mobile apps with React Native and desktop apps like VS Code. If you want to build things people can actually use (and get hired to build them), JavaScript is the most practical first programming language you can pick.
Learn JavaScript is a hands-on course for complete beginners and for developers who want a solid, modern foundation. You won't watch hours of video or copy code from slides. Every lesson is a short, focused explanation followed by a real coding challenge that runs right here in your browser. Hidden tests check your solution the moment you press Submit, so you always know whether your code works. When it doesn't, the failing test tells you exactly what was expected and what your code produced.
You'll start with the fundamentals: console.log, variables, numbers, strings, if/else and loops. Then you'll level up through functions and closures; arrays with map, filter and reduce; objects, JSON, Map and Set; classes, inheritance and error handling; and finally asynchronous JavaScript with the event loop, promises, async/await and Promise.all. Everything is taught in modern JavaScript (ES2022 and newer), the same JavaScript you'll find in today's React, Vue, Svelte and Node.js codebases.
By the end you'll be able to read and write real-world JavaScript with confidence: break problems into functions, transform data, model it with objects and classes, handle errors gracefully and coordinate asynchronous work. That's exactly the foundation you need before moving on to the DOM, React, TypeScript or backend development.
How the game works
Scriptoria is the realm of JavaScript, and you are its newest apprentice. Every lesson you pass earns XP, and XP raises your level and rank. Keep a daily streak for bonus XP, open loot chests and climb the leaderboard. Each chapter ends with a boss battle: a bigger challenge that combines everything you've just learned, where every passing test deals damage until the boss falls. Stuck? Unlock progressive hints one at a time, or reveal the solution and keep moving.
The first chapter is completely free and needs no account. Buy the full course, finish it within 30 days, and claim 30% of the price back.
Learn JavaScript: frequently asked questions
Is this JavaScript course free?
The entire first chapter (8 lessons covering console.log, variables, numbers, strings, conditions, loops, a quiz and a boss battle) is free and playable without an account. The remaining five chapters are unlocked with a one-time purchase of the course. There is no subscription.
Do I need to install anything to learn JavaScript here?
No. Your code runs directly in your browser in a secure sandbox, using the same JavaScript engine that runs real websites. All you need is a modern browser such as Chrome, Firefox, Safari or Edge. There is nothing to download, configure or update.
Do I need any programming experience?
None at all. The course starts with your very first line of code and explains every concept in plain language with small examples. If you already know another language, you'll move through the first chapter quickly and still pick up the modern JavaScript idioms that trip up newcomers.
How long does the course take?
Most learners need about 15 hours in total. At 30 minutes a day that's roughly a month — enough for the 30-day cashback window — and many people finish faster. Lessons are short, so you can always fit one in, and your progress is saved automatically.
How does the 30% completion cashback work?
Buy the course, complete every lesson within 30 days of your purchase, and a "Claim cashback" button refunds 30% of the price to your original payment method (claim it within 30 days of finishing). It's our way of rewarding you for actually finishing what you started.
Do I get a certificate at the end?
No, and we'd rather be honest about why. Employers hire for skills, not for online course certificates. What you do get is more useful: the ability to write, test and debug real JavaScript, plus 30 solved coding challenges (six of them boss battles) that you can talk about in an interview.
Is the JavaScript taught here up to date?
Yes. The course teaches modern JavaScript (ES2022 and newer), including let and const, arrow functions, template literals, destructuring, spread, optional chaining, classes with private fields, async/await and Promise.all. Outdated patterns like var are only mentioned so you recognise them in older code.
What should I learn after this course?
You'll be ready for the DOM and building interactive web pages, a framework like React, Vue or Svelte, TypeScript, or backend development with Node.js. You can also continue your journey in another Codewilds realm, such as Python or Go, where your new programming skills transfer directly.