diff --git a/seed/challenges/future-jquery-ajax-json.json b/seed/challenges/future-jquery-ajax-json.json index b50add03fb..f2ed7d7d27 100644 --- a/seed/challenges/future-jquery-ajax-json.json +++ b/seed/challenges/future-jquery-ajax-json.json @@ -18,6 +18,8 @@ "assert(editor.match(/\\n\\s+?\\}\\);/g), 'Close your $(document).ready(function() { function with \\}\\);.')" ], "challengeSeed": [ + "", + "", "
", "", "
", @@ -65,6 +67,7 @@ "", " });", "fcces", + "", "
", "", "
", @@ -112,6 +115,7 @@ " $('img').addClass('animated bounce');", " });", "fcces", + "", "
", "", "
", @@ -159,6 +163,7 @@ " $('.btn').addClass('animated shake');", " });", "fcces", + "", "
", "", "
", @@ -207,6 +212,7 @@ " $('.btn').addClass('animated shake');", " });", "fcces", + "", "
", "", "
", @@ -256,6 +262,7 @@ " $('#cat-photo-form').addClass('animated pulse');", " });", "fcces", + "", "
", "", "
", @@ -303,6 +310,7 @@ " $('#cat-photo-form').css('background-color', 'gray');", " });", "fcces", + "", "
", "", "
", @@ -351,6 +359,7 @@ " $('#submit-button').prop('disabled', 'true');", " });", "fcces", + "", "
", "", "
", @@ -382,48 +391,41 @@ { "id": "bad87fee1348bd9aed608826", - "name": "Waypoint: Move an Element Using jQuery", - "dashedName": "waypoint-move-an-element-using-jquery", + "name": "Waypoint: Use appendTo to Move Elements with jQuery", + "dashedName": "waypoint-use-appendto-to-move-elements-with-jquery", "difficulty": 0.079, "description": [ - + "$('.btn').appendTo('#right-well')" ], "tests": [ - + "assert($('#left-well').children().length === 0, 'Your left well should not have any buttons inside it.')", + "assert($('#right-well').children().length === 6, 'Your right well should have all 6 buttons inside it.')" ], "challengeSeed": [ "fccss", " $(document).ready(function() {", - " $('#cat-photo-form').css('background-color', 'gray');", - " $('#submit-button').prop('disabled', 'true');", - " $('img').remove();", + "", " });", "fcces", - "
", - "", - "
", + "", "
", - "
", - " ", - "
", - "
", - " ", - "
", - "
", - " ", - "
", - "
", - "
", - "
", - "
", - "
", - " ", - "
", - "
", - " ", + "
", + "

#left-well

", + "
", + " ", + " ", + " ", "
", "
", - "" + "
", + "

#right-well

", + "
", + " ", + " ", + " ", + "
", + "
", + "
" ], "challengeType": 0 }, @@ -434,13 +436,36 @@ "dashedName": "waypoint-clone-an-element-using-jquery", "difficulty": 0.080, "description": [ - + "Clone the #target1 element and append it to the #left-well element. $('#target1').clone().appendTo('#left-well')" ], "tests": [ - + "assert($('#left-well').children().length > 3, 'You should have at least 4 button elements in your #left-well element')" ], "challengeSeed": [ - + "fccss", + " $(document).ready(function() {", + "", + " });", + "fcces", + "", + "
", + "
", + "

#left-well

", + "
", + " ", + " ", + " ", + "
", + "
", + "
", + "

#right-well

", + "
", + " ", + " ", + " ", + "
", + "
", + "
" ], "challengeType": 0 }, @@ -451,13 +476,37 @@ "dashedName": "waypoint-target-the-parent-of-an-element-using-jquery", "difficulty": 0.082, "description": [ - + "Change the parent of the #target1 element to have the background color of red.", + "$('#target1').parent().css('background-color', 'red')" ], "tests": [ ], "challengeSeed": [ - + "fccss", + " $(document).ready(function() {", + "", + " });", + "fcces", + "", + "
", + "
", + "

#left-well

", + "
", + " ", + " ", + " ", + "
", + "
", + "
", + "

#right-well

", + "
", + " ", + " ", + " ", + "
", + "
", + "
" ], "challengeType": 0 }, @@ -468,13 +517,37 @@ "dashedName": "waypoint-target-the-children-of-an-element-using-jquery", "difficulty": 0.083, "description": [ - + "Change the color of all the #left-well element's children to blue.", + "$('#right-well').children().css('background-color', 'blue')" ], "tests": [ ], "challengeSeed": [ - + "fccss", + " $(document).ready(function() {", + "", + " });", + "fcces", + "", + "
", + "
", + "

#left-well

", + "
", + " ", + " ", + " ", + "
", + "
", + "
", + "

#right-well

", + "
", + " ", + " ", + " ", + "
", + "
", + "
" ], "challengeType": 0 },