STEP 8: Now that we have a custom block created, let's reuse it to make two more stripes.

  • Click on SUBJECT, then click on .
  • Drag out your custom block named Flag Stripe to the bottom of your program.
  • Change the y-value of your second rectangle from 3 to 0.

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)