diff --git a/challenges/01-front-end-development-certification/json-apis-and-ajax.json b/challenges/01-front-end-development-certification/json-apis-and-ajax.json index 426a7008a8..011c0939f1 100644 --- a/challenges/01-front-end-development-certification/json-apis-and-ajax.json +++ b/challenges/01-front-end-development-certification/json-apis-and-ajax.json @@ -367,7 +367,7 @@ "" ], "tests": [ - "assert(code.match(/val.imageLink/gi), 'message: You should have used the imageLink property to display the images.');" + "assert(code.match(/val\\.imageLink/gi) || code.match(/val\\[\"imageLink\"\\]/gi), 'message: You should have used the imageLink property to display the images.');" ], "type": "waypoint", "challengeType": 0,