diff --git a/seed_data/challenges/future-jquery-ajax-json.json b/seed_data/challenges/future-jquery-ajax-json.json index 1fbadc7649..16fb6d6e09 100644 --- a/seed_data/challenges/future-jquery-ajax-json.json +++ b/seed_data/challenges/future-jquery-ajax-json.json @@ -238,14 +238,15 @@ ], "tests": [ - + "assert(!editor.match(/nce\\'\\)\\;/g) && !editor.match(/ke\\'\\)\\;/g), 'Delete your img element selector statement and your \".btn\" selector statement.')", + "assert(editor.match(/css.*,.*background-color.*red.\\);/g), 'Select the element with the id of \"cat-photo-form\" give it the background color of red.')" ], "challengeSeed": [ "fccss", " $(document).ready(function() {", " $('img').addClass('animated bounce');", " $('.btn').addClass('animated shake');", - " $('.cat-photo-form').addClass('animated pulse');", + " $('#cat-photo-form').addClass('animated pulse');", " });", "fcces", "
", @@ -285,10 +286,40 @@ ], "tests": [ - + "assert($('form button').attr('id') === 'submit-button', 'Add the ID of \"submit-button\" to your the button on your form element.')", + "assert($('#submit-button') && $('#submit-button').prop('disabled'), 'Disable your element with the id of \"submit-button\".')" ], "challengeSeed": [ - + "fccss", + " $(document).ready(function() {", + " $('#cat-photo-form').css('background-color', 'red');", + " });", + "fcces", + "
", + "", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "
", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "
" ], "challengeType": 0 }, @@ -341,22 +372,6 @@ "challengeType": 0 }, - { - "_id": "bad87fee1348bd9aed408826", - "name": "Waypoint: Animate an Element Using jQuery", - "difficulty": 0.081, - "description": [ - - ], - "tests": [ - - ], - "challengeSeed": [ - - ], - "challengeType": 0 - }, - { "_id": "bad87fee1348bd9aed308826", "name": "Waypoint: Target the Parent of an Element Using jQuery",