Filtering
first, last, eq, filter, not and has narrow a selection.
Example
$('li').filter('.on');
$('li').not('.off');
$('div').has('p');
$('li').last();Exercise
Exclude matches.
$('li').('.off')
Quiz Test
These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.