From 73c8ccb6332c01bf31f7a4ec2f81daf5b7ca6fe5 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 --- challenges/jquery.json | 1 + 1 file changed, 1 insertion(+) diff --git a/challenges/jquery.json b/challenges/jquery.json index 51b6e080db..e106267f29 100644 --- a/challenges/jquery.json +++ b/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": [