Im having trouble :/


What have i done wrong? my name shows up in the box with all these colors but it wont let me move on.


Oops, try again. Make sure to use the variables myName and letterColors in the drawName() function, like this: drawName(myName, letterColors).

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 = "Jonathan";

drawName(myName,letterColor= [red,orange,green,purple,blue]);


You need to define a letterColors variable before you use it.

You can't use it in that function call and define it at the same time.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.