This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Animate Your Name Forum

View Course » View Exercise

1077 points
58fa9b5c92f40744d5000274_615078726
Submitted by
GreenViceroy
over 3 years ago

10/15 [resolved] letterColors should be an array of colors

Here is my code:
var red = [0, 100, 63];
var orange = [40, 100, 60];
var green = [75, 100, 40];
var blue = [196, 77, 55];
var purple = [280, 50, 60];

var myName = "Ari";
var letterColors = [red, orange, yellow, green, blue, purple];

It won't take it!
It gives me this:
Oops, try again. letterColors should be an array of colors, like this: letterColors = [red, orange, green].


1 vote

Best answer

permalink

Oh, I just realized that they didn't define the variable yellow.

1077 points
58fa9b5c92f40744d5000274_615078726
Submitted by
GreenViceroy
over 3 years ago

1 Comment

F5c015d7ad9d12834c2ebc9f55d66fab?s=140&d=retro hotrodspike over 3 years ago

well that would make sence!