Question: is nth child zero based?
Answer: Because jQuery's implementation of :nth- selectors is strictly derived from the CSS specification, the value of n is "1-indexed", meaning that the counting starts at 1. jQuery methods like . first() or . eq() jQuery follows JavaScript's "0-indexed" counting.