This project is a simple and fun web game where players try to guess a secret number between 1 and 100. When the game starts, a loading screen with a welcome message and spinner appears for a few seconds before revealing the main interface.

Players enter their guess into an input box and press the “Check” button. The game responds with hints like “too high,” “too low,” or “way off,” helping players narrow down their next guess. If the guess is correct, a message appears saying they’ve won. A “Restart” button allows players to play again with a new number.

The interface includes a title, instructions, buttons, input field, hint messages, and a game status display.

The game is built using:

HTML for structure,

CSS for visual styling and animations,

JavaScript for logic, random number generation, and user interaction.

This project is useful for learning the basics of interactive web development. It teaches how to handle input, display feedback, and create a responsive, engaging user experience. It’s a great beginner project with room for future enhancements.

Built With

Share this project:

Updates