PREVIEW: Let find the area! Changes in height and width will affect each shape's area calculation.

  • We're using the width and height of each shape to calculate their area.
  • Change the value of rectangle_height or rectangle_width and see how it affects the area.
  • Click on the Ticket to answer the questions. Click Ticket again to reveal the stage.
  • Click Run each time you change something to see how the output changes.

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)