diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f42a021625f656101ef93.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f42a021625f656101ef93.md index a2b26f92daa371..11cdbeaca139db 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f42a021625f656101ef93.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-typography-by-building-a-nutrition-label/615f42a021625f656101ef93.md @@ -28,7 +28,7 @@ assert(document.querySelector('span')?.classList?.contains('right')); Your `span` element should have the text `2/3 cup (55g)`. ```js -assert(document.querySelector('span')?.textContent === '2/3 cup (55g)'); +assert(document.querySelector('span')?.textContent?.trim() === '2/3 cup (55g)'); ``` Your `p` element should still have the text `Serving size 2/3 cup (55g)`.