Table of Contents
This is a game built with JavaScript that implements:
- Async and callback functions.
- Fetching data from a hosted file.
- Parsing data as Text.
- for...of loops with conditionals.
- Click event handlers with conditional statements.
- Creating and appending HTML elements.
- Adding and removing CSS classes.
- RegEx validation.
Try to guess the word before you run out of attempts! Type in a single letter at a time, and watch as the game keeps track of your guesses and updates what you see on screen after each round, counting down until eventually you emerge victorious or admit defeat. Either way, hit the reset button and try your luck again.
- HTML
- CSS
- JavaScript
This web page was crafted with vanilla code. No dependencies here!
All you need is a browser (to view/interact) and a text editor (to modify).
- Clone this repo and you're all set!
index.html
: structure and layout.styles.css
: design and aesthetics.script.js
: functionality.
- Difficulty level selection
- Scoring system
- Fewer guesses = Higher score
- Score display
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement".
Thanks for playing!
Distributed under the MIT License.
- Module 13: Project: Guess The Word Game
- normalize.css