diff --git a/challenges/json-apis-and-ajax.json b/challenges/json-apis-and-ajax.json index a03fa1b9a8f..147fc9abbd4 100644 --- a/challenges/json-apis-and-ajax.json +++ b/challenges/json-apis-and-ajax.json @@ -239,7 +239,7 @@ "", " var html = \"\";", "", - " json.map(function(val) {", + " json.forEach(function(val) {", "", " html += \"
\";", "", @@ -310,7 +310,7 @@ " ", " // Only change code above this line.", "", - " json.map(function(val){", + " json.forEach(function(val) {", "", " html += \"
\"", "",