From 8cfd2eb1142e68517dbc458a1d02985910c9c02d Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Wed, 25 Nov 2015 20:39:02 -0800 Subject: [PATCH] Add note about how jQuery is zero-indexed for clarification --- seed/challenges/jquery.json | 1 + 1 file changed, 1 insertion(+) diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json index 51b6e080db..e106267f29 100644 --- a/seed/challenges/jquery.json +++ b/seed/challenges/jquery.json @@ -973,6 +973,7 @@ "You can also target all the even-numbered elements.", "Here's how you would target all the odd-numbered elements with class target and give them classes:", "$(\".target:odd\").addClass(\"animated shake\");", + "Note that jQuery is zero-indexed, meaning that, counter-intuitively, :odd selects the second element, fourth element, and so on.", "Try selecting all the even-numbered elements and giving them the classes of animated and shake." ], "tests": [