Learn Intermediate CSS by Building a Cat Painting - Step 8

I’m having trouble understanding what’s wrong here, my cat head looks similar to the one in the opening pop-up that displays the end result. And I can’t seem to find any errors in my code… sorry but i’m stumped… thanks in advance for any help!

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

file: index.html →

fCC Cat Painting
```
/* 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/116.0.0.0 Safari/537.36

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

Link to the challenge:

Welcome to FCC Forum, a great community of people helping each other.

If you place it all on one line, and only leave a space after the comma between the colors, you should pass.

background: linear-gradient (color1 %, color2 %);

Happy coding! :slight_smile:

2 Likes

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