Back to Freecodecamp

Step 17

curriculum/challenges/english/blocks/learn-intermediate-css-by-building-a-cat-painting/649353647c44ef4867ab4935.md

latest1.0 KB
Original Source

--description--

Remove the div element with class box because you don't need it anymore.

--hints--

You should remove the div element with class box

js
assert.notMatch(code, /<div\s*class=('|")box\1><\/div>/)

--seed--

--seed-contents--

html
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>fCC Cat Painting</title>
    <link rel="stylesheet" href="./styles.css">
</head>
<body>
    <main>
      <div class="cat-head"></div>
      --fcc-editable-region--
      <div class="box"></div>
      --fcc-editable-region--
    </main>
</body>
</html>
css
* {
  box-sizing: border-box;
}

body {
  background-color: #c9d2fc;
}

.cat-head {
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  background: linear-gradient(#5e5e5e 85%, #45454f 100%);
  width: 205px;
  height: 180px;
  border: 1px solid #000;
  border-radius: 46%;
}

.box {
  width: 400px;
  height: 600px;
  background-color: #000;
  position: absolute;
  left: 650px;
  top: 800px;
}