#100DaysOfCode Day 20: Stars By Color

Shawn McMahon
Aug 1, 2021
Photo by Denis Degioanni

Todays Mission:

Return an object with keys of the different colors of the stars whose values are arrays containing the star objects that match

Example:
{

blue: [{obj}, {obj}, {obj}, {obj}, {obj}],

white: [{obj}, {obj}],

yellow: [{obj}, {obj}],

orange: [{obj}],

red: [{obj}]

}

The Data

Code snippet of the data set
Code snippet of the data set

The Solution

Code snippet of the solution
Code snippet of the solution

--

--