Skip to content

Latest commit

 

History

History
26 lines (15 loc) · 837 Bytes

README.md

File metadata and controls

26 lines (15 loc) · 837 Bytes

guessANum

Guess the Number Game

A simple web-based game where players try to guess a randomly generated number between 1 and 100.

Description

This "Guess the Number" game is implemented using HTML, CSS, and JavaScript. It demonstrates basic DOM manipulation, event handling, and game logic implementation in JavaScript.

Features

  • Generates a random number between 1 and 100.
  • Provides feedback whether the guess is too high, too low, or correct.
  • Tracks the number of attempts made by the player.
  • Uses Bootstrap for styling with custom Pantone purple theme.

Usage

  1. Open index.html in your web browser.
  2. Enter your guess in the input field and click the "Guess" button.
  3. Follow the feedback messages to guess the correct number.
  4. The game displays the number of attempts taken to guess the number.