* 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>
948 B
948 B
id, title, challengeType, dashedName
id | title | challengeType | dashedName |
---|---|---|---|
61968df2acd5550bf1616c34 | Step 3 | 0 | step-3 |
--description--
Normalise your page's sizing, by removing the body
element's margin
and padding
.
--hints--
You should give body
a margin
of 0
.
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.margin, '0px');
You should give body
a padding
of 0
.
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.padding, '0px');
--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--
body {
background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
}
--fcc-editable-region--