第10步:使用变量 star_color 来控制星形的颜色!

记住,变量名称前后没有引号。变量名称star_color。变量的"aqua"

  • 用变量 star_color 替换每个星形的颜色参数。

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)