Animat your name 10 Arrays


Hey can someboy help me here is the instructions

In line 7, set myName equal to your name again. Remember to use quotes, since your name should be a string.
In line 8, create an array named letterColors that stores a list of the five colors available. For example, letterColors = [red, orange, green]. Remember to separate each variable with a comma.


Here is what i said:
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 = "Jobreonna";
letterColors=[red, Orange, Blue, Green, Yellow]

drawName(myName, letterColors);`


Hi , first you declared red,orange,green,blue,pulple so you should use the same name inisde your array wihout upercase, like that

[red, orange, blue, green, yellow]

then you didn't declare the variable yellow but purlple so you should remove yellow and put purple


Can you please just show me the answer cause this is confusing so yeah just the answer


Just change that

letterColors=[red, Orange, Blue, Green, Yellow]


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