Skip to content
Justice Tech School

Selector Filters

Filters like :first, :even, :not and :contains refine matches.

Example
$("li:first");
$("tr:even");
$("p:not(.skip)");
$("p:contains(\"hello\")");
$("input:checked");

Exercise

Skip a class.

$("p:(.skip)")

Quiz Test

What does :even select?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.