Doubt - Target a Specific Child of an Element Using jQuery

I was doing the 107th challenge when i got myself in doubt. How jQuery knows the class i want to select the nth-child if i use .target for general? :confused:

‘.target’ is not a keyword, is the class name :stuck_out_tongue:
The command return an array of elements with class ‘target’, then it select the 2nd one ^^
I should think more before write o.o’


Selects all elements that are the nth-child of their parent.

Btw the consideration below is correct :slight_smile:

1 Like

Oh dude! I guess i got it!

So, Does the command get the 2nd child of a element if it has the ‘target’ class? <- I tested here i it’s make sense. :laughing::grin:

thank ya!