This course is out of date and does not reflect our standards or industry best practices. We now recommend you take the Complete Intro to Web Development, v2 course.

Check out a free preview of the full Learning jQuery course:
The "Basic Methods and Callbacks" Lesson is part of the full, Learning jQuery course featured in this preview video. Here's what you'd learn in this lesson:

Don’t be obnoxious with effects fadeIn, fadeOut, fadeToggle, fadeTo are nice for showing overlay elements. slideDown, slideUp, slideToggle can be less jarring than no animation show/hide Callbacks are executed at end of animations once for each element slideUp(fn). You can use a promise slideDown(250).promise().done(fn) Animations go in sequence for multiple animations or in parallel for different elements Custom animations and running multiple animations in parallel

Get Unlimited Access Now