EXTEND: Now it's time to extend your program!

  1. Try adding a fourth parameter name to your function: for example, food.
  2. Add text that uses the new parameter: for example, "Please bring your favorite " + food + " dish."
  3. Add a parameter value to the function call: for example, "pasta".
  4. When you're finished, click Submit and Next to continue.

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)