WDV221 Intro Javascript

Skill Test - Finish High-Low Game

High Low Game



1. Complete the highLowGame function to play the game.

2. Implement a random number generator to create the target number.

3. Change the function to include a guess counter. Display the number of guesses each time.

4. Change the background color of the Result area to light blue for a correct answer.

5. If the users takes more than 4 guesses change the background of the guess counter display to light red.

6. Change the New Game button to start a new game.