This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Animate Your Name Forum

View Course

10 points
053e7e47fcd5273f8c66b5e12e7fb6c1?s=140&d=retro
Submitted by
joshfiedler
over 3 years ago

Need help with my code. What is wrong?

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

0 votes

permalink

Hi Josh,

  • you don't need to repeat letterColors = [red,orange,green];, once is enough
  • I don't know which exercise you are on, but this drawName(myName, letterColors = [purple,green,red,blue, ]); is not right. You should just have variable names in there not an array.

3692 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago