STEP 2: Now let's display the weight of each animal.

  • Drag two Variable Display commands to the bottom of your program.
  • Name one display dino_display. Change the variable name to dino and place it at (-75, 50).
  • Name the other display kitty_display. Change the variable name to kitty and place it at (150, 50).
  • Drag Wait to the bottom of your program.

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)