STEP 7: Now we'll have star_points control the number of points on all of our stars.

  • Note that all of the stars have 5 points.
  • Change the points argument for all of our stars to the variable star_points.
  • When you're finished, click Run to see all of your stars change at once!

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)