Learn Intermediate CSS by Building a Cat Painting - Step 8

i redid a couple of times and it still didn’t work maybe i did messed up something in the code or it is something else so i would appreciate the help

<!-- file: index.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>
    </main>
</body>
</html>
/* file: styles.css */
* {
  box-sizing: border-box;
}

body {
  background-color: #c9d2fc;
}

.cat-head {
  width: 205px;
  height: 180px;
  border: 1px solid #000;
  border-radius: 46%;

/* User Editable Region */

background:linear-gradient(#5e5e5e 85%,#45454f 100%);

/* User Editable Region */

}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36

Challenge: Learn Intermediate CSS by Building a Cat Painting - Step 8

Link to the challenge:

Hi there!

Sorry for the trouble - your code is correct, however the steps expect a space after the comma:

background: linear-gradient(#5e5e5e 85%, #45454f 100%);

We’re tracking this issue to be fixed, but for now adding the space will allow you to pass the challenge.

1 Like

thank you very much for the help i was stuck for a while lol

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.