Learn Intermediate CSS by Building a Cat Painting - Step 8

Tell us what’s happening:
Describe your issue in detail here.
Is it telling me to type background: #5e5e5e 85% #45454f 100%;
or background: linear-gradient #5e5e5e 85% #45454f 100%;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;
}

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

/* User Editable Region */

border-radius: 46%;
background:  #5e5e5e 85% #45454f 100%;
linear-gradient: #5e5e5e 85% #45454f 100%;


/* User Editable Region */

}

Your browser information:

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) 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:

These shouldn’t be separate lines. The linear-gradient function is used with the background property.

You learned how to use linear-gradient back in the Color Markers course. Look at the CSS in step 94 for examples of how to do it.

Also, there is a bug in the tests for this step. Make sure you put everything on one line and there is a space after the comma.

2 Likes

Someone told me the same thing in the discord Thanks for the heads up :+1:

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