Skip to content


Switch branches/tags


Failed to load latest commit information.
Latest commit message
Commit time

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-present 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.