anuraagnagar / guess-the-number

A simple number guessing game built with HTML, CSS, and JavaScript.

Home Page:https://guess-thenumber08.netlify.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Number Guessing Game

This game is built with HTML, CSS & and vanilla JavaScript.

A simple number guessing game built with HTML, CSS, and JavaScript.

Description

The Number Guessing Game is a fun and interactive web-based game where the player tries to guess a randomly generated number between 0 to 25. The game provides hints to the player if the guess is too high or too low until they correctly guess the number.

Live Preview

https://guess-thenumber08.netlify.app/

Screenshot of Game

Screenshot

Step to run this project

  1. Open the index.html file in your web browser.
  2. Choose a number from the given range and enter it in the input field.
  3. Click the "Guess" button to submit your guess.
  4. The game will provide feedback if your guess is too high or too low.
  5. Keep guessing until you correctly guess the number.
  6. The game will display the number of attempts it took to guess correctly.

Technologies Used

  • HTML
  • CSS
  • JavaScript

Installation

Set up & Run locally

1. Clone the project

git clone https://github.com/anuraagnagar/guess-the-number.git

2. Go to the project directory

cd guess-the-number 

3. Open file to the Browser

index.html

About

A simple number guessing game built with HTML, CSS, and JavaScript.

https://guess-thenumber08.netlify.app/


Languages

Language:CSS 47.1%Language:JavaScript 29.9%Language:HTML 23.0%