STEP 3: Let's make our sprite say Happy Birthday five times as it flips around.

  • Go to and drag Say inside the for loop. It should have a purple block ···· in front of it which means that it's indented.
  • Change the name in front of .say() from sprite to singer.
  • Change the string in .say() to "Happy Birthday!"

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)