WARNING: This program has a syntax error which means we need to fix it!

RULE: The parameters in the event handler must be separated by a comma.

  • Click Run and read the error message.
  • Bad input means the code is missing a symbol like comma, parentheses etc.
  • Debug the program so that the penguin crosses the stage every 4 seconds.

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)