STEP 11: We're ready to have our sprite say the original price!

Remember, we can add two strings together using +. This is called string concatenation.

  • In GRAPHICS, click on and drag in Say.
  • Change the string inside the .say() to this: "The original price was $" + price_string.

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)