STEP 7: We don't want to forget to pick up a topping for our pizza! Let's add an item to our list.

One way to add a value into a list is to add a comma after the last value. But make sure you don't delete the bracket!

  • After "cheese" type "peppers".
  • Make sure that "peppers" is inside the brackets [ ].
  • And make sure there is a comma between "cheese" and "peppers".

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)