Skip to content
The JavaScript Way book
Branch: master
Clone or download

Latest commit

Latest commit 209df90 May 6, 2020


Type Name Latest commit message Commit time
Failed to load latest commit information.
manuscript Remove obsolete link May 5, 2020
resources Add image resource for animation exercise Jul 26, 2017 Add translation guidelines Aug 27, 2017
LICENSE Copyright clarifications Mar 8, 2017 Add PDF file May 6, 2020
cover.jpg Add new cover and link to paperback version May 5, 2020
thejsway.pdf Add PDF file May 6, 2020

License: CC BY-NC-SA 4.0 Buy eBook on Leanpub Buy Kindle or paperback book on Amazon Take the online course on Educative

The JavaScript Way

A gentle introduction to an essential language.

Copyright © 2017-2020 Baptiste Pesquet.

Book cover


This book aims to be a useful companion for anyone wishing to (re)discover the many facets of JavaScript. Numerous brain cycles were spent to make it:

  • Beginner-friendly yet comprehensive. From the very basics of programming up to front-end and back-end web development, a lot of topics are covered in a simple and accessible way. No prior knowledge needed!
  • Standards-aligned. The book is entirely written using the recent ES2015 syntax, giving you future-proof knowledge. From start to finish, it enforces good programming habits, embraces the ubiquitous JavaScript tools ESLint and Prettier and closely follows the popular AirBnb Style Guide.
  • Hands-on. No real learning happens without practicing! Each chapter is accompanied by a series of exercises to put your newly acquired skills into action. A three-part project will guide you in the creation of a social news web application (see it in action).
  • Easy to follow. Code along directly in your browser or build an efficient JavaScript development environment on your local machine.


This repository contains the book manuscript files, free to read for everyone. Your contributions are most welcome.

You can also download the entire book as a PDF file.

For a better reading experience, this content is also available:

  • As a multi-format, DRM-free eBook on Leanpub.
  • As a DRM-free Kindle or paperback book on Amazon.
  • As an interactive online course on Educative.

Supporting this work

A lot of time and energy went into this content. If you find it useful and want to support this effort, here's what you can do:

  • Buy it under one of the available formats (see above). Any financial contribution would be much appreciated.
  • Rate it or leave a review on Goodreads or Amazon.
  • Spread the word about it.

Thanks in advance for your support!

Table of contents

For your convenience, source code for exercises and final project is available.

You can’t perform that action at this time.