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

Animate Your Name Forum

View Course » View Exercise

764 points
526ac79cabf82176bb0003eb_393661334
Submitted by
luprec
over 3 years ago

9/15 Where is the variable blue?

"I've prepared another variable named blue that stores the color blue."

Where is this variable? I don't see it anywhere in main.js. It works when I add it to the function, so it must be there somewhere. What am I missing? I'd like to understand this better before I move on.

Thanks.


-1 votes

permalink

Wow, they made this exercise look easy. Looking at that "hour of code" link, I feel this exercise could have explained how things were happening a little better. Or at least inform people that there is more than simply the Javascript that can be learned on this site necessary to create this on your own. There is no way that this could have been duplicated outside this lesson without that link. Too many assumptions were made for me to understand how something like this is created from scratch.Should I take the jQuery course and come back to this?

969 points
6777127ea50e6e7909d156f192157c48?s=140&d=retro
Submitted by
djsimoneit
over 3 years ago

1 Comment

52923321abf82138c20059f8_562129230 Caladbolg over 3 years ago

What ever you feel like


-2 votes

permalink

Check this link: hour of code then you would realize

1783 points
52923321abf82138c20059f8_562129230
Submitted by
Caladbolg
over 3 years ago


-2 votes

permalink

Hi luprec, your question is a bit old but I'm just doing some tidy up today. If you haven't found it already, you can find blue defined if you look at this file that you have linked in your index.html file http://s3.amazonaws.com/codecademy-content/courses/hour-of-code/js/bubbles.js

3691 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago