From 954665cd3529a9b2bd7040c81ff1c65fe3576d66 Mon Sep 17 00:00:00 2001 From: Ben McMahon Date: Thu, 29 Oct 2015 21:22:02 +0000 Subject: [PATCH] Part two of post deploy challenge hotfix --- challenges/json-apis-and-ajax.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/challenges/json-apis-and-ajax.json b/challenges/json-apis-and-ajax.json index e4eb407d97..f290a071d0 100644 --- a/challenges/json-apis-and-ajax.json +++ b/challenges/json-apis-and-ajax.json @@ -173,7 +173,7 @@ ], "tests": [ "assert(editor.match(/json\\.map/gi), 'The message box should have something in it.')" - ], + ], "challengeSeed": [ "fccss", " $(document).ready(function() {", @@ -224,15 +224,15 @@ "id": "bb000000000000000000004", "title": "Render Images from Data Sources", "description": [ - "In the JSON that we receive from Free Code Camp's Cat Photo API, each object has an attribute called \"imageLink\".", - "When we're looping through these objects, let's check whether an object attribute (key) is imageLink. If it is, instead of outputing the image link, let's render the image.", + "In the JSON that we receive data from Free Code Camp's Cat Photo API.", + "When we're looping through these strings, let's check whether they are links. If it is, instead of outputing the image link, let's render the image.", "Here's the code that does this:", "if(val.match(\"http\")) {", "  html = html + '<img src = \"' + val + '\">';", "}" ], "tests": [ - "assert(editor.match(/val.match/gi), 'You should have accessed the imageLink of each cat object.')" + "assert(editor.match(/val.match/gi), 'You should have checked whether the strings contain links.')" ], "challengeSeed": [ "fccss",