10. Arrays not working... Why?


#1

I have been putting the code for 10. Arrays down the exact way it tells me to, but it is saying that I haven't defined all the variables. Can anyone find where I went wrong? 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 = "Parker";
var lettercolors = [red, orange, green, blue, purple]

drawName(myName, lettercolors);

Please tell me any errors you can find. Thank you in advance!


#2

You are doing great there @parkery!

The problem is that JavaScript is case sensitive. That means that:

lettercolors is not the same as letterColors!

This exercise is looking for letterColors.


:green_heart: