.first()
The .first() method in jQuery is used to filter the set of matched elements, keeping only the first one.
Highlight the first item
$('li').first().css('background','cyan');
Try now