STEP 6: Let's use the parameter name theme to set the background.

The third parameter name when we define the function is theme. The third parameter value when we call the function is "summer". When the function runs this time, theme will have the value "summer".

  • Change the image in the background to theme.
  • Click Run to see the "summer" background image appear on the stage.


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)