* fix: handle missing solutions correctly Rather than creating an [[]] the parser now creates [] which isEmpty(). This makes the test suite check the next challenge for a solution. In addition, the logic for testing solutions was fixed. * chore: update snapshots * test: build new superblock in node.js-tests CI * test: allow forward slash in superblock slug * fix: borked tests oops * test: ignore duplicated projects * fix: i did not break these shaun did :) * fix: idIndex is index of id not id Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
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>CSS Penguin</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
</body>
</html>
--fcc-editable-region--
--fcc-editable-region--