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

Animate Your Name Forum

View Course » View Exercise

232 points
52f0a93c80ff336ecd0013ca_55804536
Submitted by
Diar Pradhana
over 3 years ago

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

var myName = "Diar";



drawName("Diar",blue);

and what should i do?


2 votes

permalink

I suggest you do something like this
1 var myName = "Diar";
2
3
4
5 drawName(myName,blue);

P.S Don't take out the myName you need that!

503 points
8872295b8b122c68399bc65f5deb5318?s=140&d=retro
Submitted by
anodebeetle
over 3 years ago

1 Comment

55df2afa95e3787b9200005e_359368177 Judy over 3 years ago

anodebeetle's answer is correct Diar. You have taken the trouble of creating a variable called myName so you should definitely use it when you call the drawName function.