These are the source code for the projects from the book Head First HTML5.
If you want to run these sample projects locally on your computer, you will need to setup a web server on your computer.
- Track My Location - Track your location as you move around the city.
- Mighty Gumball - Gets the latest sales data from Mighty Gumball's web service using JSONP.
-
Smiley - Draws a smiley face on the canvas to brighten up your day.
-
TweetShirt - Draws a tweet from your favorite Twitter user on a T-Shirt design of your choosing.
Video files are not included due to GitHub's file size limits. You can download the videos from http://wickedlysmart.com/hfhtml5/hfhtml5.zip.
-
Webville TV - A HTML5 video player with playlist support.
-
Video Booth - A HTML5 video player with custom controls and video effects (e.g. black & white, sepia etc.)
-
Playlist - Saves your music playlist to the browser's local storage.
-
Stickies - Create sticky notes to remind yourself of things to do (or not to do).
- Fractals - Draws some fancy fractal patterns on the canvas using multiple web workers to speed things up.