diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614796cb8086be482d60e0ac.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614796cb8086be482d60e0ac.md index 47f618cc857..bf7de246f7b 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614796cb8086be482d60e0ac.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-accessibility-by-building-a-quiz/614796cb8086be482d60e0ac.md @@ -26,7 +26,7 @@ You should give the `a` elements inside list items a `color` property. const helper = new __helpers.CSSHelp(document); const usedSelector = code.match(/^\s*?(.*?a)\s*?{/m)[1]; -assert.notEmpty(helper.getStyle(usedSelector)?.color); +assert.notEmpty(helper.getStyle(usedSelector.replaceAll(/\s+/g, ' ').trim())?.color); ``` You should only change the color of `a` elements inside list elements.