The secret number is now randomised, from 1 to 100, damn javascript and it's lowercase functionnames
The program works as intended now
Moved around the if statements and parse the number string to int instead of doing to comparisons on strings
Beaufity the javascript and added so that a empty guess isn't valid
More error checking, empty strings and NaN will return false
Added some (useless) comments