diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a255dae245b52317da824a.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a255dae245b52317da824a.md index 480e2f44476..b0aa1e6b42b 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a255dae245b52317da824a.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-javascript-by-building-a-role-playing-game/62a255dae245b52317da824a.md @@ -20,13 +20,13 @@ Note how the line ends with a semi-colon. It is common practice in JavaScript to You should add a `console.log("Hello World");` line to your code. Don't forget the semi-colon. ```js -assert.match(code, /console\.log\("Hello World"\);/); +assert.match(code, /console\.log\(\s*('|")Hello World\1\s*\)\s*;/); ``` Your `console.log("Hello World");` line should be between your `script` tags. ```js -assert.match(code, /