updated code

We changed the prompt to an alert to remove confusion about entering a value for the computer to guess and we updated getNumber to catch invalid input.
Nice. Always opt to express things in the positive. Removing commented-out code here is a good win, too!