From 4caccdb0cdfe66a20efc108df40fd6c647f6f40f Mon Sep 17 00:00:00 2001 From: tanimedi Date: Fri, 17 Feb 2023 09:37:35 -0500 Subject: [PATCH] fix(curriculum): test to check for body element (#49410) fix(learn): test to check for body element --- .../61967e74a8e3690ab6292daa.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/61967e74a8e3690ab6292daa.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/61967e74a8e3690ab6292daa.md index 9812e1b4bdd..11e1aa4022c 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/61967e74a8e3690ab6292daa.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-css-transforms-by-building-a-penguin/61967e74a8e3690ab6292daa.md @@ -14,7 +14,7 @@ Target the `body` element to set the `background` to a linear gradient angled 45 You should use the `body` element selector. ```js -assert.match(code, /body\s*\{/); +assert.exists(new __helpers.CSSHelp(document).getStyle('body')); ``` You should use the `background` property in the `body` selector.