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, v3 course.

Check out a free preview of the full Introduction to JavaScript and jQuery course:
The "Traversal methods: Filtering" Lesson is part of the full, Introduction to JavaScript and jQuery course featured in this preview video. Here's what you'd learn in this lesson:

Filtering - filter (with selector or function), not, slice (code demo), eq Context - second param in jQuery (Karl recommends just using find), add, andSelf, end Check - hasClass, is (returns boolean)

Get Unlimited Access Now