From 3af9507f89eb5a19e5bf3bb89b9d7971b5ff96fa Mon Sep 17 00:00:00 2001 From: Quincy Larson Date: Thu, 30 Jul 2015 17:31:47 -0700 Subject: [PATCH] add two new jquery challenges --- challenges/jquery-ajax-and-json.json | 475 ++++++++++++++++++--------- 1 file changed, 325 insertions(+), 150 deletions(-) diff --git a/challenges/jquery-ajax-and-json.json b/challenges/jquery-ajax-and-json.json index 3faaa74d22..5092435946 100644 --- a/challenges/jquery-ajax-and-json.json +++ b/challenges/jquery-ajax-and-json.json @@ -9,8 +9,11 @@ "dashedName": "waypoint-learn-how-script-tags-and-document-ready-work", "difficulty": 0.072, "description": [ - "We've simplified our Cat Photo App and removed our style element. Add a script element to your page and create a $(document).ready function within it.", - "Add $(document).ready(function() { to your script element, and then close it on the following line with });." + "Now we're ready to learn jQuery, the most popular JavaScript tool of all time. Don't worry about JavaScript itself - we will cover it soon.", + "Before we can start using jQuery, we need to add some things to our HTML.", + "First, add a script element at the top of your page. Be sure to close it on the following line.", + "Your browser will run any JavaScript inside a script element, including jQuery.", + "Inside your script element, add this code: $(document).ready(function() { to your script. Then close it on the following line (still inside your script element) with: });" ], "tests": [ "assert(editor.match(/