STEP 9: Actions or commands are INSIDE the if block when they are 4 spaces under the test statement.

  • Click on . Drag out Say. Drop it INSIDE your if block.
  • Replace the green text with "I love soccer!".
  • Click on . Drag out Soccer Ball. Drop it INSIDE your if block. Change the name to ball.
  • Click on . Drag Go To INSIDE your if block. Change the name in front to ball.

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)