Eloquent JavaScript
eloquentjavascript.net
Marijn Haverbeke's free book on JavaScript and programming, readable online with a built-in code sandbox so you can run and edit every example on the page.
Eloquent JavaScript is a book on JavaScript and programming by Marijn Haverbeke, available to read free online. The current edition is the fourth, from 2024. It is organised into three parts: the language itself, programming in the browser, and programming with Node.js.
The online version has a built-in sandbox, so you can edit and run each code example on the page. The text is licensed for non-commercial sharing and the code under MIT, and a paperback is available if you prefer print. It suits readers who want to understand how programming works, not only copy snippets.
Why it is useful
One of the best free introductions to programming itself, not just to JavaScript. It covers the language, the browser and Node.js, and finishes with real projects. The book is openly licensed, so there is nothing to sign up for or pay.
More in Learning Resources
Other learning resources you might not have heard of.
- The Feynman Lectures on PhysicsThe complete text of Richard Feynman's iconic undergraduate physics lectures, freely available online in a beautifully typeset HTML format.
- CodecademyInteractive coding courses across dozens of languages and frameworks, with an in-browser editor so you write real code inside every lesson.
- ProDesign ArchiveProDesign Archive is a one-time USD 10 download of 139 independently curated brand design references in structured Markdown. It helps designers and developers study color, typography, layouts and components, then bring clearer visual context into AI-assisted work.
- AnimagraffsEducational site publishing animated technical explainers on engines, aircraft, electronics, infrastructure, vehicles, watches, and other mechanical or scientific systems.
- Vim AdventuresA puzzle game that teaches Vim navigation by mapping terminal keystrokes to movement — first few levels free, full game paid.
- Stanford Encyclopedia of PhilosophyA comprehensive, peer-reviewed online encyclopedia of philosophy maintained by Stanford University — free, authoritative, and continuously updated.