This forum is now read-only. Please use our new forums! Go to forums

banner
Close banner
0 points
Submitted by reece
almost 10 years

10/15 Make sure you have defined all the variables!

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 = “Munster Bathrooms”; myName = “Munster Bathrooms”; letterColours = [purple, orange, red, pink, blue];

What have i done wrong? help please

Answer 53d8eea0282ae3b8150020a9

0 votes

Permalink

letterColours = [purple, orange, red, pink, blue];

is spelt Colours, codeacademy uses US spelling and as such will only understand ‘colors’

I do it all the time.

points
Submitted by wicxity
over 9 years

Answer 53b43b647c82caffa4002ceb

-1 votes

Permalink

  1. The exercise is looking for letterColors rather than letterColours.

  2. You don’t need the second line in the following code, it isn’t changing anything:

var myName = "Munster Bathrooms";
myName = "Munster Bathrooms";
points
Submitted by Judy
almost 10 years