mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-11 07:00:41 -04:00
fix(curriculum): test to check for body element (#49410)
fix(learn): test to check for body element
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user