In this project I made a square quilt with the colors alternating between red, orange, yellow, green, blue, and purple. To do this I made a list of all the colors and then made a loop that kept track of what loop it was. Then I found the remainder of the loop devided by 6 and make it retrieve the color from list that corresponds with that number. Inside the loop I would make a div and set the background color to the color I retrieved. I hope you enjoy this project!


GO TO PROJECT GO BACK TO PROJECTS PAGE