From 9e128e27877e7b989e715cd4db4e89c7742f6672 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Wed, 12 Aug 2015 01:04:46 -0700 Subject: [PATCH] manually apply pull requests submitted by @cristianvnica and @kurzninja --- seed/challenges/jquery.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/seed/challenges/jquery.json b/seed/challenges/jquery.json index cec4ce2729..5dd55da4b7 100644 --- a/seed/challenges/jquery.json +++ b/seed/challenges/jquery.json @@ -154,8 +154,8 @@ "difficulty": 3.04, "description": [ "You can also target elements by their id attributes.", - "First target your div element with the class \"target3\" by using the $(\"#target3\") selector.", - "Note that, just like with CSS declarations, you type a # before the class's name.", + "First target your div element with the id \"target3\" by using the $(\"#target3\") selector.", + "Note that, just like with CSS declarations, you type a # before the id's name.", "Then use jQuery's .addClass() function to add the classes \"animated\" and \"fadeOut\".", "Make all the button element with the id \"target3\" fadeOut. $(\"#target3\").addClass(\"animated fadeOut\")." ], @@ -679,8 +679,8 @@ ], "tests": [ "assert($(\"#target6\").css(\"color\") === 'rgb(0, 255, 0), 'Your \"target6\" element should have green text.')", - "assert(!editor.match(/\\.children\\(\\)\\.css/g), 'You should use the children() function to modify these elements.')", - "assert(!editor.match(/
/g), 'Only use jQuery to add these classes to the element.')" + "assert(editor.match(/\\.children\\(\\)\\.css/g), 'You should use the children() function to modify these elements.')", + "assert(editor.match(/
/g), 'Only use jQuery to add these classes to the element.')" ], "challengeSeed": [ "fccss", @@ -730,7 +730,7 @@ "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 has a function called :nth-child() that will allow you select the nth element of a certain class or element type.", - "Make the first child in each of your well elements bounce.", + "Make the second child in each of your well elements bounce.", "Here's how you would give the third element in each well bounce: $(\".target:nth-child(3)\").addClass(\"animated bounce\");" ], "tests": [