diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json index cf16fb13db..e5d5408fcc 100644 --- a/challenges/basic-javascript.json +++ b/challenges/basic-javascript.json @@ -843,7 +843,7 @@ "  ourArray.push(i);", "  i++;", "}", - "Let's try getting a for loop to work by pushing values to an array." + "Let's try getting a while loop to work by pushing values to an array." ], "tests":[ "assert(editor.getValue().match(/while/g), 'You should be using a while loop for this.');", diff --git a/challenges/jquery.json b/challenges/jquery.json index e3ed5de816..8576e4bc0d 100644 --- a/challenges/jquery.json +++ b/challenges/jquery.json @@ -786,7 +786,7 @@ "difficulty": 3.16, "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');", + "Here's how you would target all the odd-numbered elements with class target and give them classes: $(\".target:odd\").addClass(\"animated shake\");", "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": [