diff --git a/challenges/basic-javascript.json b/challenges/basic-javascript.json index 4fd35a7d84..4617baa585 100644 --- a/challenges/basic-javascript.json +++ b/challenges/basic-javascript.json @@ -1571,7 +1571,7 @@ "difficulty":"9.9901", "description":[ "Now that we can detect when the player wins we are going to add an image to each slot depending on the random values we generate", - "$($('.slot')[0]).html('<img src = \"' + images[slotOne-1] + '\">');" + "$($('.slot')[0]).html('<img src = \"' + images[slotOne-1] + '\">');" ], "tests":[ "assert(editor.match(/\\$\\(\\$\\(\\'\\.slot\\'\\)\\[\\d\\]\\)\\.html\\(\\'\\\\'\\);/gi) && editor.match(/\\$\\(\\$\\(\\'\\.slot\\'\\)\\[\\d\\]\\)\\.html\\(\\'\\\\'\\);/gi).length >= 3, 'Use the provided code three times. One for each slot');",