diff --git a/seed/challenges/json-apis-and-ajax.json b/seed/challenges/json-apis-and-ajax.json index 1148756772..6dfebc1258 100644 --- a/seed/challenges/json-apis-and-ajax.json +++ b/seed/challenges/json-apis-and-ajax.json @@ -55,6 +55,7 @@ "description": [ "", "We are now going to request data from an external source. (a file on FCC for the purposes of this exercise) The request will load in the data an run the code in the function we provide the data to which is known as the callback.", + "Once we have the JSON we can modify or display it however we like so that it can be used elsewhere in the program and shown to the end user.", "$(\"#getMessage\").on(\"click\", function() {", "  $.getJSON(\"/json/cats.json?callback=\", function( json ) {", "    //Code to run when request is complete", @@ -107,6 +108,8 @@ "title": "Convert JSON Data to HTML", "description": [ "Now that we have the data let's re-arrange it so that it can be displayed in a user friendly way.", + "We can use the .map method to iterate through the data and transform it in some way.", + "This will allow us to perform math operations on certain parts of the data or rearrange it to make it nice to display.", "json.map(function(val) {", "  html = html + \"<div class = 'cat'>\"", "  for(var key in val) {",