Skip to content

A simple game that challenges the user to guess a number between 1 and 20. Written in HTML, CSS, and Vanilla JavaScript.

License

Notifications You must be signed in to change notification settings

yshalsager/Guess-My-Number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Guess My Number

A simple game that challenges the user to guess a number between 1 and 20. Written in HTML, CSS, and Vanilla JavaScript.

screenshot

Demo

Netlify Status

You can check the demo here.

How it works

  • A random number is generated between 1 and 20.
  • The user is asked to guess a number and enter it in the text box.
  • The user is told if their guess is too high or too low if the guessed number is incorrect.
  • Otherwise, the user is congratulated, and the game is over.

Features

  • Responsive design.
  • Ability to reset and play again.
  • User high score is saved in memory.

Improvements

  • Save high score to local storage.

Notes

This project is part of JavaScript Course by Jonas Schmedtmann on Udemy.

About

A simple game that challenges the user to guess a number between 1 and 20. Written in HTML, CSS, and Vanilla JavaScript.

Topics

Resources

License

Stars

Watchers

Forks