Khan Academy Wiki
Challenge: Constellation Maker
Constellation
Description
Challenge Name: Challenge: Constellation Maker
Section(s) Intro to JS
Steps: 2

Challenge: Constellation Maker is a programming challenge in the Intro to JS course. This challenge practices using arrays to store data.

Steps[]

There are two steps in this challenge:

  1. Add to the arrays: This step asks users to add another x and y-position to the arrays.
  2. Add stars: This step asks users to add a mouseClicked function that pushes new stars to the arrays by using .push().
Constellation

The end result of Challenge: Constellation Maker

If users get stuck[]

If users get stuck, they should:

  • Pay attention to Oh Noes and the error messages.
  • Go back and review the "Arrays" tutorial.

Up next[]

Challenge: Recipe Card