diff --git a/seed/challenges/jquery-ajax-and-json.json b/seed/challenges/jquery-ajax-and-json.json
index 57a23f0286..c7689d19b4 100644
--- a/seed/challenges/jquery-ajax-and-json.json
+++ b/seed/challenges/jquery-ajax-and-json.json
@@ -375,6 +375,7 @@
" $('button').addClass('animated bounce');",
" $('.well').addClass('animated shake');",
" $('#target3').addClass('animated fadeOut');",
+ " $('button').removeClass('btn-default');",
"",
" });",
"fcces",
@@ -464,13 +465,12 @@
"dashedName": "waypoint-remove-an-element-using-jquery",
"difficulty": 0.078,
"description": [
- "Now let's remove an HTML element entirely using jQuery.",
- "jQuery has a "
-
+ "Now let's remove an HTML element from your page using jQuery.",
+ "jQuery has a function called .remove()
that will remove an HTML element entirely."
],
"tests": [
- "assert($('img').length === 0, 'Use jQuery to remove your img
element from your page.')",
- "assert(editor.match(/
img element in your HTML but jQuery should remove it.')"
+ "assert($('#target4').length === 0, 'Use jQuery to remove your \"target4\" element from your page.')",
+ "assert(editor.match(/id='target4/g), 'Only use jQuery to add these classes to the element.')"
],
"challengeSeed": [
"fccss",