Learn Intermediate CSS by Building a Cat Painting - Step 8

Tell us what’s happening:

I have read through the forums on this issue, and no matter what spaces I use it doesn’t seem to work.

Browser identification

Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36 OPR/105.0.0.0

Your code so far

<!-- 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;
}


/* User Editable Region */

fsa.cat-head {
  width: 205px;
  height: 180px;
  border: 1px solid #000;
  border-radius: 46%;
  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/119.0.0.0 Safari/537.36 OPR/105.0.0.0 Unique/91.7.7406.7

Challenge Information:

Learn Intermediate CSS by Building a Cat Painting - Step 8

Don’t make any changes to anything but the background property.

Thank you so much for replying. Didn’t work. :confused:
Sorry, your code does not pass. Keep trying.

Your linear-gradient function should set the first color to be #5e5e5e at 85%.

Did you remove the change you made that isn’t intended to be there?

Heya, I think so. I click reset on the challenge and started fresh with your advice

What’s your current code? Adding only this line to the starting code worked for me.

got it to work this time. thanks for your help. :slight_smile:

1 Like

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