Skip to content

Starter Files for Thinkful's Front End Web Development Hot or Cold Project

Notifications You must be signed in to change notification settings

timothynott/hotcold

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hotcold

for Thinkful's Front End Web Development Hot or Cold Project

when Guess button is clicked{

  • check that input is a number between 1, 100
  • check that input hasn't already been guessed
  • counter +1
  • set variable guess from the input text var guess = input.val()
  • insert guess into html
  • guess
  • append guess html to ul#guessList
  • calculate "hot" or "cold" feedback var feedback = function(secretNumber, guess){ var diff = abs(guess - secretNumber); if (diff<5){ return "very hot"; } }
  • put feedback() answer into div#feedback }

About

Starter Files for Thinkful's Front End Web Development Hot or Cold Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 64.5%
  • HTML 18.5%
  • JavaScript 17.0%