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

Animate Your Name Forum

View Course » View Exercise

369 points
55b6803376b8fede63000313_524349478
Submitted by
QuentinThomas
over 2 years ago

[resolved] I know my code is right but it won't pass :(

I have done exactly what the exercise told me but it still comes out wrong. Here's what I have.

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 = "Quentin";
letterColors = [red, orange, green, blue, purple];
if (15 > 5)

{
bubbleShape = "cicle";
}

else

{
bubbleShape = "square";
}

drawName(myName, letterColors);


0 votes

permalink

Hi QuentinThomas,

Your error is here:

bubbleShape = "cicle";

Do you see the problem now?

3698 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 2 years ago

2 Comments

55b6803376b8fede63000313_524349478 QuentinThomas over 2 years ago

I can't believe I made such a bone-headed mistake lol. Thank you Albions

55df2afa95e3787b9200005e_359368177 Judy over 2 years ago

Not to worry, we've all been there, it gets easier :)