Guess the number: A Coding Project

This JavaScript project is a number guessing game where the player tries to guess a randomly generated number between 0 and 99. The game provides feedback on whether the guess is too high or too low and tracks the number of attempts. If the player guesses correctly or exhausts their attempts, the game ends, displaying a win or loss message. The game also includes a confetti animation and sound effect for winning, and a reset button to start a new game.

  • DOM Manipulation
  • Event Handling
  • External Module Import
  • Random Number Generation
  • Loops
  • Conditional Statements
  • String Manipulation
  • CSS Class Manipulation
  • Audio Playback
Try It Out!
App Logo