Welcome to Hour of Code!

You'll use JavaScript to fix and improve the Hoppy Grace game.
Hoppy Grace
Click on the grasshopper, Grace, to play the game. Keep clicking to flap her wings, and try to avoid hitting the walls or floor.

This center area is where your code will appear.

Your Code

Here you can see how your code compares to the example solution.

Example Solution
Your Solution

Are you sure you want to reset your code?

Correct!

You used the boolean false to turn Dizzy Mode off.

Your Game
Click on the grasshopper, Grace, to play the game. Keep clicking to flap her wings, and try to avoid hitting the walls or floor.