From a56ff225d1381217e69736da940589bafa13125d Mon Sep 17 00:00:00 2001 From: Aniruddh Agarwal Date: Tue, 1 Sep 2015 21:27:41 +0800 Subject: [PATCH] updated ambiguous description of jquery waypoint --- seed/challenges/jquery.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json index e5e674e054..da3d97e89d 100644 --- a/seed/challenges/jquery.json +++ b/seed/challenges/jquery.json @@ -735,11 +735,11 @@ "You've seen why id attributes are so convenient for targeting with jQuery selectors. But you won't always have such neat ids to work with.", "Fortunately, jQuery has some other tricks for targeting the right elements.", "jQuery uses CSS Selectors to target elements. target:nth-child(n) css selector allows you to select all the nth element with the target class or element type.", - "Here's how you would give the third element in each well bounce: $(\".target:nth-child(3)\").addClass(\"animated bounce\");", - "Make the second child in each of your well elements bounce." + "Make the second child in each of your well elements bounce. You must target the children of element with the target class.", + "Here's how you would give the third element in each well bounce: $(\".target:nth-child(3)\").addClass(\"animated bounce\");" ], "tests": [ - "assert($(\".target:nth-child(2)\").hasClass(\"animated\") && $(\".target:nth-child(2)\").hasClass(\"bounce\"), 'The second element in each of your well elements should bounce.')", + "assert($(\".target:nth-child(2)\").hasClass(\"animated\") && $(\".target:nth-child(2)\").hasClass(\"bounce\"), 'The second element in your target elements should bounce.')", "assert(editor.match(/\\:nth-child\\(/g), 'You should use the :nth-child() function to modify these elements.')", "assert(editor.match(/