Turning Learners Into Developers
Codekilla
CODEKILLA
back to course
Lesson 18 / 8721%
Selectors8/10

Basic Filters

:first, :last, :even, :odd, :eq, :gt, :lt, :not.

// $(selector).action(args) — select then act$('#list .item.active')DOM<body><nav><ul id='list'><li class='item'><li class='item active'><li class='item'><main><article>// jQuery object (wrapped set)length: ?[0]: <li.item.active>.addClass, .on, .css, ...Click a step to walk through the selector engine.
Visual explanation diagram · click steps to walk through it

This lesson is Pro only.

Unlock every premium lesson and module — Pro from ₹299 / month (or ₹999 / year, saves ~₹2,589).

Sign in to unlock
// feedback.matters()
Did this lesson help you?