JavaScript jQuery Basics Introducing jQuery Introduction to jQuery Review

Joel Stevenson
Joel Stevenson
4,137 Points

I'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

You 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.