The eq() method is pretty useful when it comes to target specific element in a group of elements. It’s really easy to use since you can target element using an index.
.eq( index )
Where index is the position of the element.
You can define an index from the beginning (a positive number) or from the end (a negative number).
Just like this:
This is how it will change the style of the elements:
If element is not available at the specified index, it won’t do anything.