© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
J. MeyerThe Essential Guide to HTML5https://doi.org/10.1007/978-1-4842-8722-4_9

9. Guess a Word

Jeanine Meyer1  
(1)
Purchase, NY, USA
 
In this chapter, we cover the following:
  • Using CSS styles

  • Generating markup for alphabet buttons and display of partially hidden word

  • Drawing based on calculations

  • Using a character string for the secret word

  • Creating an external script file for the word list

  • Setting up and removing event handling

Introduction

The goal for this chapter is to continue demonstrating programming techniques and the features of HTML5 , Cascading Style Sheets (CSS) , and JavaScript , combining dynamic creation of HTML markup along with drawing visual representations ...

Get The Essential Guide to HTML5: Using Games to Learn HTML5 and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.