第8步:别忘了披萨上的配料! 让我们添加一个项目到列表中。

一种将内容添加到列表中的方法是在最后一个值后面添加逗号。

  • "cheese" 后输入 "peppers"
  • 确保 "peppers" 在括号 [] 内部,并用逗号分隔它和 "cheese"

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
  • 提交作品
  • 下个活动
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)