CSS and JS for guessing game