CHECK FOR UNDERSTANDING: Take a moment to review what you learned about refactoring with parameters.

  • Click Run and watch the stage.
  • Use the code in the editor to answer the questions.
  • Click Submit , then Next to continue.

The un-refactored version of the code is at the bottom of the code editor, commented out.

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)