Apress Access

HTML5 and JavaScript Projects

By Jeanine Meyer

  • eBook Price: $27.99
Buy eBook Buy Print Book
HTML5 and JavaScript Projects shows you how to build sophisticated applications using the core technologies of HTML5, including databases, localStorage, geolocation, video, and audio.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-4032-7
  • 448 Pages
  • User Level: Beginner to Intermediate
  • Publication Date: October 16, 2011
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Building APIs with Node.js
  • Java XML and JSON
  • JSON Quick Syntax Reference
  • Reactive Programming with Node.js
  • Pro MEAN Stack Development
  • Beyond jQuery
  • Practical Web Design for Absolute Beginners
  • HTML5 Quick Markup Reference
  • Beginning Backdrop CMS
Full Description

HTML5 and JavaScript Projects shows you how to build on your basic knowledge of HTML5 and JavaScript to create substantial HTML5 applications. Through the many interesting projects you can build in this book, you'll build your HTML5 skills for your future projects, and extend the core skills you may have learned with its companion book, The Essential Guide to HTML5.

HTML5 and JavaScript Projects covers the most important areas of HTML5 that you'll want to know how to program, including: video, and audio, databases, localStorage, and geolocation. The projects have been carefully selected to help you build your HTML5 and JavaScript programming skills. You'll build games and applications, such as video jigsaws, recipe archives, paper dolls, and many more captivating examples.

Each project starts out with an introduction to the basic HTML5 and JavaScript concepts covered and then includes specific, appealing examples explained step-by-step. You'll also discover line-by-line explanations for every single line of code—we'll make sure that you can fully understand what each line of code does, so that you can easily take that understanding and apply it to your own HTML5 projects.

HTML5 and JavaScript Projects:

  • Shows how to produce applications combining Canvas drawings, photos, and videos
  • Explains how to incorporate Google Maps and geolocation into your projects
  • Reveals how to build applications requiring persistent data, storing the information locally or on a database on the server

What you’ll learn

  • How to create line drawings using mathematical operations for defining coordinate positions
  • How to incorporate Google Maps and geolocation to determine the location of the user
  • How to use locations as triggers for playing videos using JavaScript
  • How to combine the canvas with geolocation maps using HTML5 and JavaScript
  • Use HTML5 Audio for event sounds and background music
  • How to manipulate, store and retrieve complex information using localStorage
  • How to build applications involving JavaScript and the HTML5 APIs

Who this book is for

HTML5 and JavaScript Projects is for the developer who wants and needs to move to the next level of Web development, including more sophisticated programming and the design and construction of sets of applications. This book targets people who want to go beyond the basics of HTML5 and, for example, incorporate maps using the Google Maps API into their work or build projects that require persistent data on the client computer (localStorage). The book will be helpful for people working in teams, where considerable effort is required to create, access and manage information.

Table of Contents

Table of Contents

  1. Building the HTML5 Logo—Drawing on Canvas, with Scaling, and Semantic Tags
  2. Paper Dolls—Accurately Positioning Objects on the Canvas
  3. Bouncing Video—Animating and Masking HTML5 video
  4. Map Maker—Combining Google Maps and Canvas
  5. Deep-Linking—Creating Journeys Through Video, Images and Maps
  6. Where Am I?—Building Games with the Geolocation API
  7. Accurate Origami—Using Math to Draw Precise Paper Folding on the Canvas
  8. Video Jigsaw—Moving and Checking HTML5 Elements Using JavaScript
  9. Picture Puzzle—Storing Game Scores and Choices Using the LocalStorage API
  10. Bookmark Application—Using Form Validation and Databases
Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. JavaScript Quick Syntax Reference


      View Book

    2. Beginning HTML5 and CSS3


      View Book

    3. User Experience Innovation


      View Book

    4. Beginning JavaScript with DOM Scripting and Ajax


      View Book