第 14 步:我们快完成了!我们只需要让用户在自定义颜色和白色之间单击即可。

  • if 块中,将整数值从0 , 255 , 0更改为r , g , b
  • 现在,我们的像素每次点击都应该介于白色和您的自定义颜色之间!

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)