something, while here your brain is doing you a favor by making sure the learning doesn’t stick. Your brain’s thinking, “Better leave room for more important things, like which wild animals to avoid and whether naked snowboarding is a bad idea.” So how do you trick your brain into thinking that your life depends on knowing HTML5 and JavaScript? IntroWho is this book for?xxiiWe know what you’re thinkingxxiiiAnd we know what your brain is thinkingxxiiiMetacognition: thinking about thinkingxxvThe technical review teamxxxAcknowledgmentsxxxiIntroix1Getting to know HTML5: Welcome to Webville12Introducing JavaScript and the DOM: A Little Code353Events, Handlers and All That Jazz: A Little Interactivity854JavaScript Functions and Objects: Serious JavaScript1135Making Your HTML Location Aware: Geolocation1656Talking to The Web: Extroverted Apps2137Bringing Out Your Inner Artist: Canvas2818Not Your Father’s TV: Video... With Special Guest Star “Canvas”3499Storing Things Locally: Web Storage41310Putting JavaScript to Work: Web Workers473Appendix: Top Ten Topics (We
Didn’t Cover)531Index549xtable of contents
Webville getting 1 Welcome to
to know HTML5Upgrade to HTML5
TODAY! 2Introducing the HTML5-o-Matic, update your HTML now! 4You’re closer to HTML5 markup than you think 7HTML5 Exposed: Confessions of the newest version of HTML 11Would the REAL HTML5 please stand up... 12How HTML5 really works... 14Who Does What? 16Your First Mission: Browser Reconnaisance 17What can you do with JavaScript? 22Writing Serious JavaScript 25Writing Serious JavaScript Revisited... 26Bullet Points 31Exercise Solution 3