* feat: add css-penguin practice project * rename block name * rename meta block * rename necessary properties * rename page * add to step 25 * adjust prototype with better structure/naming * add step adjusting .ground z-index * fix: add position: absolute to .ground * add to step 37 * add to step 103 * remove erm from solution * add tests to 001-020 * add tests 021-030 * test: update 012 to use dynamic hints * test: improve tests with dynamic hints * fix: add position:relative to .penguin * add tests 032-055 * add tests 056 - 103 * fix some tests * code blocks and test fixes Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com> * allow 0% 0px 0 * fix: add width and height step for silly firefox * add instruction to add html element * Tom's good suggestions, and his American suggestions Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> * adjust wording for - you guessed it - firefox Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> * add missing calc keyword * just fix it with regex :( * apply Nich's probably bogus suggestions Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com> * remove duplicate Co-authored-by: Krzysztof G. <60067306+gikf@users.noreply.github.com> Co-authored-by: Tom <20648924+moT01@users.noreply.github.com> Co-authored-by: Nicholas Carrigan (he/him) <nhcarrigan@gmail.com>
1.0 KiB
1.0 KiB
id, title, challengeType, dashedName
id | title | challengeType | dashedName |
---|---|---|---|
61a8fe15a6a31306e60d1e89 | Step 4 | 0 | step-4 |
--description--
Normalise your page, by setting the width
to 100%
, and height
to 100vh
.
--hints--
You should give body
a width
of --fcc-expected--
, but found --fcc-actual--
.
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.width, '100%');
You should give body
a height
of --fcc-expected--
, but found --fcc-actual--
.
assert.equal(new __helpers.CSSHelp(document).getStyle('body')?.height, '100vh');
--seed--
--seed-contents--
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" 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));
margin: 0;
padding: 0;
}
--fcc-editable-region--