Guess the random number between 1 and 20.



This is my first project when I was trying to learn JavaScript. It’s simple JavaScript game to understand DOM basics and how events can change the look of the view.
Tech Stack
DOM – HTML, CSS, JavaScript
Noteworthy
- Uses Math.random() to generate a number to guess.
- Events update css in win and reset conditions.
- Keeps track of scores from previous games.
Displays well on desktop browsers.
Demo: Check it out! | Code: GitHub