Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJoel Stevenson
4,137 PointsI'm correctly using slideUp(2000) on the slideup question, why are they asking me for 2 methods?
The question asks me to create an animation that slides up an element for 2 seconds. I placed in slideUp(2000) but it still says it's wrong and asks for another method. If it's asking me to slide down as well, why didn't they ask that in the question? It sucks to have to assume that's what you mean without providing a clear question that we can answer.
1 Answer
KRIS NIKOLAISEN
54,972 PointsYou may want to rewatch this video. The first method you are looking for is delay(). It takes speed in milliseconds as a parameter. The parameter for SlideUp is for the speed of the slide effect.