Learn Intermediate CSS by Building a Cat Painting - Step 8

Tell us what’s happening:

Describe your issue in detail here.
Someone should please help me out on this linear gradient stuff

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 */

.cat-head {background(linear-gradient:;):#5e5e5e;
  width: 205px;
  height: 180px;
  border: 1px solid #000;
  border-radius: 46%;

}

/* 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/118.0.0.0 Safari/537.36

Challenge Information:

Learn Intermediate CSS by Building a Cat Painting - Step 8

Hi
In css it is always a property followed by a colon then value like so

element{
property:value;
}

Like in this case,

background:linear-gradient(color,color);

Hope you understand

2 Likes

Hello @MasterPerfect97 !

Here is an article, found in the FCC News category, the explains and provides examples, of using the linear gradient.

I hope this helps you, along with the good guidance provided by @opudoprince.

Keep up the good progress!

1 Like

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