A simple web-based game where players try to guess a randomly generated number between 1 and 100.
This "Guess the Number" game is implemented using HTML, CSS, and JavaScript. It demonstrates basic DOM manipulation, event handling, and game logic implementation in JavaScript.
- Generates a random number between 1 and 100.
- Provides feedback whether the guess is too high, too low, or correct.
- Tracks the number of attempts made by the player.
- Uses Bootstrap for styling with custom Pantone purple theme.
- Open
index.html
in your web browser. - Enter your guess in the input field and click the "Guess" button.
- Follow the feedback messages to guess the correct number.
- The game displays the number of attempts taken to guess the number.