Animat your name 10 Arrays


#1

Hey can someboy help me here is the instructions


#2
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.

#3

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);`

#4

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


#5

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


#6

Just change that

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

To

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