Files
Shaun Hamilton 25aa04e2e7 chore(curriculum): standardise titles for rwd-beta (#45398)
* 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
2022-03-14 16:54:43 +01:00

1.2 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
619691693bc14b0e528f5a20 Step 7 0 step-7

--description--

Target the .ground element, and set its width to take up the full width of the viewport. Then, set the height to 400px.

--hints--

You should use the .ground selector.

assert.match(code, /\.ground\s*\{/);

You should give the .ground element a width of 100vw.

assert.equal(new __helpers.CSSHelp(document).getStyle('.ground')?.width, '100vw');

You should give the .ground element a height of 400px.

assert.equal(new __helpers.CSSHelp(document).getStyle('.ground')?.height, '400px');

--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>
    <div class="ground"></div>
  </body>
</html>
body {
  background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100vh;
  overflow: clip;
}

--fcc-editable-region--

--fcc-editable-region--