Rainbow App Project

For this test you will work to complete as many of the levels as possible. After each level please submit you code here (UPDATED), and then remix your project to begin the next level.

Level 1

For this level you must create a drawRainbow function that takes one parameter, numberOfColors. The parameter numberOfColors will determine the number of stripes in the rainbow. The rainbow should be drawn directly in front of the turtle and the turtle should end where it began. There should be no empty space between each stripe, and the stripes should not overlap.

Level 2

For this level you will improve your code for level one. You will add another parameter to your function called penThickness. The penThickness will adjust the width of each color in your rainbow. Again, there should be no empty space between each stripe, and the stripes should not overlap.

Level 3

For this level you will improve your code for level two. You will add another parameter to your function called height. The height parameter will adjust the height of your rainbow.

Level 4

For this level you will improve your code for level three. You will add another parameter to your function called centerWidth. The parameter centerWidth will determine the width of the white empty space in the center of the rainbow.