Guess-the-number

# Guess the Number ### Can you find the secret number in 10 tries? JavaScript CSS3 HTML5 **[Play Now](https://elenarumiru.github.io/Guess-the-number/src/assets/)**

guess-number

About

A number guessing game with a beautiful animated wave purple gradient background. The computer picks a random number between 1 and 100 — you have 10 attempts to guess it. Every 3rd wrong guess, you get a hint: higher or lower!

How to Play

  1. Enter a number from 1 to 100
  2. Click “Check”
  3. See the result — right or wrong
  4. Every 3rd attempt you get a directional hint
  5. Guess correctly within 10 tries to win!

Game Rules

Rule Detail
Range 1 to 100
Attempts 10 max
Hints Every 3rd wrong guess (higher/lower)
Over 100 Warning message
Restart No page reload needed

Features

Tech Stack

   
Logic Vanilla JavaScript
Styling CSS3 with wave animations
Layout Responsive with media queries

Project Structure

readme.md
src/
  js/
    main.js               # Game logic
  assets/
    index.html            # Game UI
    styles/
      style.css           # Theme + wave animation
      responsive.css      # Mobile adaptation
      reset.css           # CSS reset

Made by Elena Rumiru **[Play Guess the Number](https://elenarumiru.github.io/Guess-the-number/src/assets/)**