What method to locate the elements the best?

I need for example to add something to the first, fourth and seventh elements with tag img on the page. Which method will be more productive to look for: eq( ) or each ( ) ?
March 12th 20 at 08:02
1 answer
March 12th 20 at 08:04

Find more questions by tags jQuery