We need to control the fish so he can move around to catch the food. We'll use events to add user controls.

  • Change the diameter of the fish_food to 10.
  • Change the color of the fish food to "sienna".
  • Go to and drag out Left Key and Right Key.
  • Change the numbers in Left Key and Right Key to 30.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)