* chore(curriculum): accessibility-quiz * chore(curriculum): cafe-menu * chore(curriculum): ferris-wheel * chore(curriculum): fix ferris-wheel tests * chore(curriculum): colored-markers * chore(curriculum): photo-gallery * chore(curriculum): magazine * chore(curriculum): penguin * chore(curriculum): city-skyline * chore(curriculum): registration-form * chore(curriculum): picasso-painting * chore(curriculum): balance-sheet * chore(curriculum): piano * chore(curriculum): rothko-painting * fix: title min 15 chars
1.2 KiB
1.2 KiB
id, title, challengeType, dashedName
id | title | challengeType | dashedName |
---|---|---|---|
61967e74a8e3690ab6292daa | Step 2 | 0 | step-2 |
--description--
Target the body
element to set the background
to a linear gradient angled 45 degrees clockwise, starting at rgb(118, 201, 255)
and ending at rgb(247, 255, 222)
.
--hints--
You should use the body
element selector.
assert.match(code, /body\s*\{/);
You should use the background
property in the body
selector.
assert.isTrue(new __helpers.CSSHelp(document).isPropertyUsed('background'));
You should set background
to linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222))
.
assert.include(['linear-gradient(45deg,rgb(118,201,255),rgb(247,255,222))', 'rgba(0,0,0,0)linear-gradient(45deg,rgb(118,201,255),rgb(247,255,222))repeatscroll0%0%'], new __helpers.CSSHelp(document).getStyle('body')?.getPropVal('background', true));
--seed--
--seed-contents--
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="./styles.css" />
<title>Penguin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
</body>
</html>
--fcc-editable-region--
--fcc-editable-region--