*record scratch* 🛑 ✋
And this created some problems. It can be:
And that’s just for starters.
Plenty of developers understand the topical functions of the language. They know what they’re doing.
But they don’t understand why they’re doing it.
And with all the references available it’s hard to know where to start.
How do we know they’re the best?
Because we’ve read them.
With the combined powers of these books, you will:
- learn how to navigate confusing areas of the language
- be more clean and efficient with your code
And so much more.
This post contains affiliate links. I may receive compensation if you buy something. Read my disclosure for more details.
⚠️ Level: Code Newbie ⚠️
It’s structured to make sure you understand what you’re reading.
And it focuses on learning by doing.
After each chapter, you complete 20 interactive questions online to check your understanding.
With frequent check-ins, you can identify weak spots. And if you stumble, you can quickly see where the mistake was made and try it again.
There is a strong focus on comprehension and retention. This is also a book where you can move at your own pace.
Bonus: You have access to 89 online practice exercises to test your knowledge.
⚠️ Level: Beginner ⚠️
But it is well-organized. And there are visuals and examples on every page.
- How Document Object Model (DOM) enables access to change contents while loaded into browser
- How to trigger code
- How to use Ajax to send and retrieve data from a server asynchronously
- How to Update Application Programming Interfaces (APIS)
This section teaches you about the process of designing and writing scripts from scratch. This includes:
- Error handling
- Creating content panels: sliders, modal windows, tabbed panels, accordions
- Techniques to filter and sort data
- Form enhancements
- Validating form entries
“…I’ve read a handful of coding books and by far this is one of the best… the format itself is gorgeous, it’s not heavy on the text like other books and everything is color-coordinated so you can easily follow along…Definitely worth the investment!” – Alvin Nguyen
NOTE: This book assumes you already have a basic understanding of HTML & CSS. It does include an HTML & CSS refresher.
Bonus: Multiple code samples accompany the book online.
3. You Don’t Know JS: Up & Going by Kyle Simpson
⚠️ Level: Beginner, Advanced Beginner⚠️
Up & Going is great for beginners and those with limited programming experience.
Do not be deceived by the low number of pages in this book. This is dense reading and you will likely need to revisit it multiple times.
You’ll learn the importance of these essential programming building blocks :
You’ll also become familiar with values, function closures,
this, and prototypes.
And instead of blaming the language, this book blames lack of understanding the language.
Bonus: You Don’t Know JS is a 6-part book series by Kyle Simpson:
- Up & Going – basic building blocks of programming
- Types & Grammar – arrays, strings, expressions
- Scopes & Closures – nested & block-based scope, asynchronous tasks
- this & Object Properties – nature of objects, point, OLOO coding style
- Async & Performance – callbacks, inversion control, async flow
- ES6 & Beyond – ES6 syntax, iterators, meta programming
✴️ Check out You Don’t Know JS: Up & Going here.
⚠️ Level: Advanced Beginners ⚠️
You will learn control structures, functions and data structures.
It’s packed with coding examples and includes multiple projects.
- Organize/clarify code with object oriented programming (OOP)
- Script browser and making basic web apps
- Using DOM to interact with browsers
- Harnessing node.js to build servers and utilities
- And more
Because of the quantity of information contained, the book is broken down into 3 digestible parts:
- Language – bugs and errors to asynchronous programming
- Browser – handling events to HTTP and forms
Each section concludes with projects to test your knowledge.
“Very detailed and thorough, I was getting frustrated with the online course I was taking, the explanations in this book helped me understand what I was doing. Finally finding this resource was like taking a breath of fresh air.” – JRP
Bonus: This 3rd edition contains updated material on class notation, arrow functions, iterators, async functions, template strings, block scope, and more.
⚠️ Level: Advanced Beginners, Intermediate⚠️
- Grammar – whitespace, strings, functions, etc.
- Objects – literals, retrieval, global abatement, etc.
- Functions – invocation, exceptions, recursion, etc.
- Inheritance – pseudoclassical, prototypal, parts, etc.
- Arrays – delete, enumeration, dimensions, etc.
- Regular Expressions – example, construction, elements
- Methods – examples
- Style – important of consistency
As stated on the cover: “If you develop sites or applications for the Web, this book is an absolute must.”
Don’t be fooled by this short read. Author Douglas Crockford (creator of JSON), has loaded each chapter with code examples, diagrams, and instructions.
But whether you’re a code newbie, beginner, intermediate or beyond, you can always learn more about this fascinating language.
- You Don’t Know JS: Up & Going by Kyle Simpson
These books also make great gifts!
Looking for more resources? Or maybe you’re a little tight on cash? Check out RealToughCandy’s Big List of 101 Places to Learn to Code for Free.
3. You Don’t Know JS: Up & Going by Kyle Simpson