Skip to content
/ guess-the-number Public template

Guess the Number for beginner using javascript

Notifications You must be signed in to change notification settings

ktariayman/guess-the-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

guess-the-number

Guess the Number for beginner using javascript

Todo Module 2 Javascript course ( profit with javascript )

Todos :

  • Guess The Number Game
  • Todo: Get user value from input and save it to variable numberGuess
  • Todo: Generate a random number 1 to 100 and save it to variable correctNumber
  • Todo: Console whether the guess is too high, too low, or is correct inside playGame function
  • Todo: Create a function called displayResult to move the logic for if the guess is too high, too low, or correct
  • Todo: Complete the showYouWon, showNumberAbove, showNumberBelow
  • Todo: Use the showYouWon... functions within displayResult to display the correct dialog
  • Todo: Save the guess history in a variable called guess
  • Todo: Display the guess history using displayHistory() function
  • Todo: Use the initGame() function to restart the game

About

Guess the Number for beginner using javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published