Files
freeCodeCamp/curriculum/challenges/english/01-responsive-web-design/css-picasso-painting/step-008.md
Nicholas Carrigan (he/him) b36cdbafd1 chore: rename "part" to "step" (#43934)
* chore: rename part to step

* chore: update metas

* chore: more renaming

* chore: update tooling

* chore: update frontmatter

* chore(tools): title testing
2021-10-21 18:07:52 +01:00

1.0 KiB

id, title, challengeType, dashedName
id title challengeType dashedName
60b69a66b6ddb80858c5157e Step 8 0 step-8

--description--

Give the back-wall element a width of 100% and a height of 60%.

--hints--

You should set the width of the #back-wall selector to 100%.

assert(new __helpers.CSSHelp(document).getStyle('#back-wall')?.width === '100%');

You should set the height of the #back-wall selector to 60%.

assert(new __helpers.CSSHelp(document).getStyle('#back-wall')?.height === '60%');

--seed--

--seed-contents--

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>freeCodeCamp Picasso Painting</title>
    <link rel="stylesheet" type="text/css" href="./styles.css" />
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css">
  </head>
  <body>
    <div id="back-wall"></div>
  </body>
</html>
body {
  background-color: rgb(184, 132, 46);
}

#back-wall {
  background-color: #8B4513;
  --fcc-editable-region--

  --fcc-editable-region--
}