Solutions To Further Practice
Below are solutions to the exercises list under Further Practice section at the end of each chapter of the book.
Note that in many cases there are multiple ways of solving a problem, so I encourage you to tackle each exercise yourself. I’d especially like to hear from you if you find a better way of doing something than I have!
- Chapter 1, Exercise 1 - Dialog Transitions
- Chapter 1, Exercise 2 - Styling
- Chapter 1, Exercise 3 - Browser Debugging Tools
- Chapter 2, Exercise 1 - Removing Click Handlers
- Chapter 2, Exercise 2 - Experimenting With Easing
- Chapter 3, Exercise 1 - Board Layouts
- Chapter 3, Exercise 2 - Experimental Board Layouts
- Chapter 3, Exercise 3 - Game Object Design
- Chapter 4, Exercise 1- Grid Layout And Gameplay
- Chapter 4, Exercise 2 - Amended Bubble Animations
- Chapter 4, Exercise 3 - Bouncing Bubbles
- Chapter 5, Exercise 1 - CSS Transition Easing
- Chapter 5, Exercise 2 - CSS Transformation Matrices
- Chapter 5, Exercise 3 - CSS Tranformations To Matrices
- Chapter 6, Exercise 1 - Bubble Popping Animation Timing
- Chapter 6, Exercise 2 - Popping Orphaned Bubbles
- Chapter 7, Exercise 1 - Ending Levels Efficiently
- Chapter 7, Exercise 2 - Tapering Level Difficulty
- Chapter 7, Exercise 3 - Level Completion Stars
- Chapter 7, Exercise 4 - Saving Level Stars
- Chapter 7, Exercise 5 - Local Storage Polyfill
- Chapter 8, Exercise 1 - Full Screen
- Chapter 8, Exercise 2 - POSTing Scores With AJAX
- Chapter 8, Exercise 3 - Minifying JavaScript