STEP 14: We can pass new parameters to the function to create a different invitation!

Make sure that you only change the parameter values in the function call. Leave the parameter names the same.

  • In the function call change the first parameter value to "Friday the 15th".
  • Change the second parameter value to 4.
  • Change the third parameter value to "castle".


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)