Activity: Replace Image Label

STEP 13: Right now Wilbur's just throwing away a steel can. Let's change that!

In the first line of our loop, value represents the current item we're applying actions to.

  • In this case, value first equals "sodacan", then "steelcan", etc..
  • Delete the image label "steelcan" including the quotes. Replace it with the variable value.
  • Now, Wilbur cleans up the park using just one block of code!

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support