From c7ce5784ad8722533666478f7979c9082169a803 Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Sun, 7 Jun 2015 22:49:14 -0700 Subject: [PATCH] add additional jQuery waypoint --- .../challenges/future-jquery-ajax-json.json | 68 ++++++++++++++++++- 1 file changed, 65 insertions(+), 3 deletions(-) diff --git a/seed_data/challenges/future-jquery-ajax-json.json b/seed_data/challenges/future-jquery-ajax-json.json index 87d261721a..279f41224a 100644 --- a/seed_data/challenges/future-jquery-ajax-json.json +++ b/seed_data/challenges/future-jquery-ajax-json.json @@ -332,10 +332,41 @@ ], "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.')" ], "challengeSeed": [ - + "fccss", + " $(document).ready(function() {", + " $('#cat-photo-form').css('background-color', 'gray');", + " $('#submit-button').prop('disabled', 'true');", + " });", + "fcces", + "
", + "", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "
", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "
" ], "challengeType": 0 }, @@ -345,7 +376,38 @@ "name": "Waypoint: Move an Element Using jQuery", "difficulty": 0.079, "description": [ - + "fccss", + " $(document).ready(function() {", + " $('#cat-photo-form').css('background-color', 'gray');", + " $('#submit-button').prop('disabled', 'true');", + " $('img').remove();", + " });", + "fcces", + "
", + "", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "
", + "
", + "
", + "
", + " ", + "
", + "
", + " ", + "
", + "
", + "
" ], "tests": [