Goal
Guess the secret number between 1 and 100 in as few attempts as possible.
Steps
- Enter a number (1–100) and click Submit.
- Feedback shows Too low / Too high / Correct.
- Attempts counter increments each guess.
Examples
- Guess 30 → Too low → try 60 → Too high → try 45 → Correct!
Tips
- Use binary search strategy: jump halfway between bounds.
- Track your low/high bounds to minimize attempts.
Notes
- All logic runs locally in your browser.
- Reload the page to start a new game.