A simple game that challenges the user to guess a number between 1 and 20. Written in HTML, CSS, and Vanilla JavaScript.
You can check the demo here.
- A random number is generated between 1 and 20.
- The user is asked to guess a number and enter it in the text box.
- The user is told if their guess is too high or too low if the guessed number is incorrect.
- Otherwise, the user is congratulated, and the game is over.
- Responsive design.
- Ability to reset and play again.
- User high score is saved in memory.
- Save high score to local storage.
This project is part of JavaScript Course by Jonas Schmedtmann on Udemy.