Number Guessing Game

Guess a random number between 1 and 100 with too-high and too-low hints and an attempt counter.

Screenshot of Number Guessing Game

About this project

A number guessing game built with plain JavaScript.

Key features:

  • Random number between 1 and 100, with too-high and too-low hints after each guess
  • Attempt counter and a win message
  • Input checks for numbers outside 1 to 100 or empty guesses
  • Restart button for a new round, and guessing with the Enter key
  • Responsive layout