STEP 8: Let's make all of our stars appear far away by changing only one line of code in our program.

Because we used a variable for the size of the stars, it's easy to change all of them at once.

  • Change the value of star_size to 5.
  • Click Run to watch all the stars become small.

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)