STEP 14: Let's set the background to show the image that the user chose from the list.

  • Go to and drag Set Background into your program.
  • Change the background image to stage_image.
  • Run your program and choose an index to select a background image from the list.

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)