Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
What is thr soluton?
// Use the variable named 'imageView'
Harry James14,780 Points
We're not here to tell you the answers to the Code Challenges as it doesn't benefit your learning.
However, if you run into any problems along the way, we're here to help :)
To get you started on this Code Challenge, You want to call the animate() method from the imageView variable. To call a method from a variable, use this syntax: variable.method(). So to clarify, that's a period after the variable, followed by the method you want to call.
Let me know if you get past the first part of the challenge, and try the next 2 tasks while you're at it! As always, if you get stuck along the way, just leave a comment here and I'll try to get back to you as soon as I can :)