Color Array – Web Development 2 -9/13/17

For the color array challenge I had some trouble. I manage to figure out how to get a random color each time. I also figured how to push new colors into the array I had already create. This was working and it was going well until I reached the remove colors. I had trouble with this because I can’t figure out how to use the array.splice in the while loop and have it return the colors after the function is finished. This is the code I have so far and it does show up in the console.


You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *