diff --git a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-debugging-by-building-a-random-background-color-changer/66326913b729e16dd0127a36.md b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-debugging-by-building-a-random-background-color-changer/66326913b729e16dd0127a36.md index eaa7ee92b70..442fd281970 100644 --- a/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-debugging-by-building-a-random-background-color-changer/66326913b729e16dd0127a36.md +++ b/curriculum/challenges/english/15-javascript-algorithms-and-data-structures-22/learn-basic-debugging-by-building-a-random-background-color-changer/66326913b729e16dd0127a36.md @@ -22,6 +22,8 @@ Once you fix that final bug, the random background color changer will be complet You should not call the `changeBackgroundColor` function. Instead, assign the function reference to the `onclick` property. ```js +assert.strictEqual(typeof btn.onclick, 'function'); +assert.strictEqual(typeof changeBackgroundColor, 'function'); assert.strictEqual(btn.onclick, changeBackgroundColor); ```