PREVIEW: Refactoring is the process of taking a program or piece of code and changing its structure. What the code does will not change, but our code will be quicker, more organized, and easier to understand and edit later on.

  • Click Run and watch the stage. Then look at the code in the editor below.
  • Use the code in the editor to answer the questions that appear on the stage.

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)