WARNING: This program has a bug, which means we need to fix it! This bug is a logic error.

RULE: Variable Displays on the stage show the value of a variable when the display is first posted. To show a changing variable value, you must use an Update Display command.

  • Click Run and look at the stage to see what's wrong. We can't see the timer count down!
  • Debug the program so that timer_display shows the value of timer as it counts down.

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)