From 441924cbaa9b0f0c20756631eeb39cb9ef8a5cc9 Mon Sep 17 00:00:00 2001 From: Eric Leung Date: Tue, 22 Sep 2015 00:22:02 -0700 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 3a7b988816..95214991e4 100644 --- a/challenges/jquery.json +++ b/challenges/jquery.json @@ -791,6 +791,7 @@ "description": [ "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 - that is, what your browser will consider even-numbered elements - and giving them the classes of animated and shake." ], "tests": [