What will you learn from this book?
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. Prepare to open your mind as you learn (and nail) key topics including:
The inner details of javascript
How javascript works with the browser
The secrets of javascript types
Using arrays
The power of functions
How to work with objects
Making use of prototypes
Understanding closures
Writing and testing applications
What’s so special about this book?
We think your time is too valuable to waste struggling with new concepts. Using the latest research in cognitive science and learning theory to craft a multi-sensory learning experience, Head First javascript Programming uses a visually rich format designed for the way your brain works, not a text-heavy approach that puts you to sleep.
Author(s): Eric T. Freeman, Elisabeth Robson
Series: Head First
Edition: 1
Publisher: O'Reilly Media
Year: 2014
Language: English
Pages: 704
Tags: Библиотека;Компьютерная литература;HTML / CSS / JavaScript;
Intro xxv
1 A quick dip into JavaScript: Getting your feet wet 1
2 Writing real code: Going further 43
3 Introducing functions: Getting functional 79
4 Putting some order in your data: Arrays 125
5 Understanding objects: A trip to Objectville 173
6 Interacting with your web page: Getting to know the DOM 229
7 Types, equality, conversion, and all that jazz: Serious types 265
8 Bringing it all together: Building an app 317
9 Asynchronous coding: Handling events 381
10 First-class functions: Liberated functions 429
11 Anonymous functions, scope, and closures: Serious functions 475
12 Advanced object construction: Creating objects 521
13 Using prototypes: Extra-strength objects 563
Appendix: The Top Ten Topics (we didn’t cover): Leftovers 623