jQuery Traversing Filtering

The traversing filtering first(), last(), eq(), filter() is used to find HTML elements based on their relation to the other elements.

Code :