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

Animate Your Name Forum

View Course » View Exercise

949 points
4ba467a2e7bfcb6707d37f6c931878d5?s=140&d=retro
Submitted by
Kiana Ward
almost 3 years ago

?/15 Add blue as a second input to the drawName() function

So here is my code and I gives me the errors: Oops, try again. Add blue as a second input to the drawName() function. And, Oops, try again. Write your name within quotes.
What am I doing 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 = "ZACK";
var letterColors = [red, orange, green, blue, purple];


drawName(myName, letterColors);
bounceBubbles();

0 votes

permalink

Hi Kiana,

If you are getting that error message, you are probably on exercise 9/15. You should only have two lines of code for that exercise!

Use the Reset Code button and try again.

Any questions? Just ask.

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
almost 3 years ago


0 votes

permalink

var blue = blue
works for 10/15 - this questions allows you not to be specific

144 points
624ab533e7048464e32f214086d6b641?s=140&d=retro
Submitted by
Charlotte BRADLEY
almost 3 years ago