Skip to main content
  • Book
  • © 2018

The Essential Guide to HTML5

Using Games to Learn HTML5 and JavaScript

Apress

Authors:

  • Completely updated second edition uses games as a fun medium for teaching core skills

  • Use HTML5 and programming essentials to.produce your own web sites, including games and other dynamic applications

  • Jeanine Meyer is an author of several Apress books and a Professor Emerita at Purchase College/SUNY and past Coordinator of the Mathematics/Computer Science Board of Study

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (10 chapters)

  1. Front Matter

    Pages i-xix
  2. The Basics

    • Jeanine Meyer
    Pages 1-26
  3. Dice Game

    • Jeanine Meyer
    Pages 27-79
  4. Bouncing Ball

    • Jeanine Meyer
    Pages 81-122
  5. Cannonball and Slingshot

    • Jeanine Meyer
    Pages 123-173
  6. The Memory (aka Concentration) Game

    • Jeanine Meyer
    Pages 175-216
  7. Quiz

    • Jeanine Meyer
    Pages 217-244
  8. Mazes

    • Jeanine Meyer
    Pages 245-298
  9. Rock, Paper, Scissors

    • Jeanine Meyer
    Pages 299-334
  10. Hangman

    • Jeanine Meyer
    Pages 335-369
  11. Blackjack

    • Jeanine Meyer
    Pages 371-408
  12. Back Matter

    Pages 409-417

About this book

Gain a deep, practical knowledge of HTML and JavaScript that will provide an introduction to programming and enable you to build interactive websites. This completely updated second edition explains HTML, JavaScript and CSS in the context of working examples and contains full-color screen shots of the programs in action.

You'll begin at an introductory level, learning the essentials of HTML5 and JavaScript and programming techniques. Each chapter features either a familiar game such as Hangman, Rock-Paper-Scissors, Craps, Memory, and Blackjack, or a simple type of game, such as a quiz, a maze, or animated simulations. You’ll develop solid programming skills that will help when learning other programming languages. Each chapter contains tables revealing the structure of the program with comments for each line of code.

These examples demonstrate the features introduced with HTML5.  You’ll see how to use canvas elements for line drawing. You can include your own audio and video clips, directly controlled by your JavaScript code. For example, the reward for correct completion of a quiz can be the playing of an audio clip and a video clip. You’ll also learn how to use localStorage to store high scores or game preferences on a user's computer for retrieval next time they play. The Essential Guide to HTML5 explores all of this and more.

What You'll Learn

  • Understand HTML 5 concepts with the help of easy-to-grasp, appealing examples
  • Use HTML5 to explore new avenues for application and game development on the web
  • Review important new elements of HTML 5
  • Build, test, and upload simple games to a web site. 

Who This Book Is For


Both absolute beginners and users with some knowledge of HTML who want to learn the new HTML5 features

Authors and Affiliations

  • Purchase, USA

    Jeanine Meyer

About the author

Jeanine Meyer is Professor Emerita at Purchase College/SUNY and past Coordinator of the Mathematics/Computer Science Board of Study.  Before Purchase, she taught at Pace University and worked at IBM Research and other parts of IBM and at other companies. She is the author of 4 books and co-author of 3 more on topics ranging from educational uses of multimedia, programming (two published by Apress), databases and number theory. She earned a PhD in computer science at the Courant Institute at New York University, an MA in mathematics at Columbia, and a SB (the college used the Latin form) in mathematics from the University of Chicago.  She is a member of Phi Beta Kappa, Sigma Xi, Association of Women in Science, Association of Computing Machinery, and a featured reviewer for ACM Computing Reviews. Jeanine is trying but remains a beginner at Spanish and piano.

Bibliographic Information

Buy it now

Buying options

eBook USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access