I don't know where is wrong ?Please help me, thanks!


#1

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 = "Michael Ye";
drawName ( myName , letterColors = [ red , orange , green , blue , purple] );


#2

Don't put your letterColors array in your drawName() function call like that.

Here are what the instructions are looking for:

In line 8, create an array named letterColors

#3

Something like this should work:

var letterColors = [red, orange, green, blue, purple];

drawName (myName , letterColors);

#4

Thats more helpful - thanks


#5