STEP 12: Time to end our story with one final scene!

  • From add Say for Time and assign it to wizard using dot notation.
  • Edit the string in .say() so the wizard says "You defeated the dragon!"
  • Add a Say and assign it to wizard using dot notation.
  • Change the string in .say() so the wizard says "Here is your reward!"

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)