Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


This brain-friendly guide teaches you everything from JavaScript language fundamentals to advanced topics, including objects, functions, and the browser’s document object model. You won’t just be reading—you’ll be playing games, solving puzzles, pondering mysteries, and interacting with JavaScript in ways you never imagined. And you’ll write real code, lots of it, so you can start building your own web applications.

Subscriber Reviews

Average Rating: 3 out of 5 rating Based on 2 Ratings

"Awesome book to learn JavaScript from scratch" - by Thorsten on 24-JUL-2014
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I love the HeadFirst series and again like often in the past the HeadFirst book was a great read!

I do have a Java background and I used to program some JavaScript but always had problems with understanding, objects, prototypes, inheritance and equality, types, NaN etc.

This book really helped me to understand all these "basic" JavaScript topics and now I feel ready to tackle bigger JavaScript challenges.

Thanks for this awesome book!

The only small wish I would have is to be able to easily jump to the exercise solutions at the end of the chapter, and then jump back to the exercise on any device especially in the iOS app.

Report as Inappropriate

"Weird pictures and jumping all over the place" - by Gumbo on 15-JUL-2014
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
I saw the 5 star reviews on Amazon and thought this would be a good book to learn Javascript - I think the style of this book is not suitable for me.

Its got weird distracting pictures and random comments and analogies all over the place.

I give it 1 star.

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Head First JavaScript Programming

  • Catalog Page

Visit the errata page for Head First JavaScript Programming

  • Errata

Download the supplemental electronic content for Head First JavaScript Programming

  • Supplemental Content