STEP 8: We should give each shape its own name, or variable.

  • Change the square's variable name from sprite to house.
  • Remember, a shape's variable name is the orange word before the equals sign =.
  • Click Run to check your work.

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)