0(0)

Hangman game using HTML, CSS & JS

  • Course level: Beginner
  • Categories Guided Projects
  • Duration 2h 25m
  • Total Enrolled 1
  • Last Update November 24, 2020

About Course

Language: English

Description

By the end of this project, you will create a fully fledged and user friendly hangman game using HTML5, CSS3 and JavaScript only. You will learn how to modify and style the web page choosing different types of color backgrounds and padding. You will be using Keyboard capture functions to capture every word (and drop the numbers & symbols) which allow users to guess & type the correct words.

Note: This guided project works best on laptop and computers (basically which has keyboard) since we are using keystroke capture functions. It will not work on smartphone or touchscreen devices (it may work if you use virtual keyboard).

NoteLanguage: English

Learn step-by-step

  • You will first build the base, the hangman structure using HTML
  • Then you will styles the hangman and the webpage using CSS
  • Then you will create the function for hangman using JS
  • Then you will create the capture function to allow users to type only letters
  • Then you will create the lists of correct letters and add the function for incorrect letters
  • Then you will add the behavior of the page when user type the correct/incorrect letters
  • Then you will create the popup box for repeated letters which prevents the user to type the same letter again
  • Finally you will create the result box and ending behavior of the game

What Will I Learn?

  • Web Development
  • Design
  • JavaScript
  • Computer Science

Topics for this course

14 Lessons2h 25m

Setting Up

Installing Visual Studio5:27
Source Code00:1:00

Hangman Game

About the instructor

0 (0 ratings)

6 Courses

10 students

Free

Material Includes

  • 2 hours on demand videos
  • Resume build guided projects
  • Downloadable Codes
  • Access on mobile and TV
  • Full lifetime access
  • Certificate of Completion

Requirements

  • PC or Laptop to code the project
  • A desire to learn Interactive Web Development
  • No Prior Knowledge of Data Science
error: Alert: Content is protected !!