Style.css wrong (but i do not see the mistake)

Tell us what’s happening:
Describe your issue in detail here.

it tells me that my background property should be in the body selector but it is already in it!!
what is the mistake???
Your code so far

\ file: <!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8" />
  <link rel="stylesheet" type="text/css" href="./styles.css" />
  <title>Penguin</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>
</body>
</html>
<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8" />
  <link rel="stylesheet" type="text/css" href="./styles.css" />
  <title>Penguin</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>

<body>
</body>
</html>
\ file: body{
background: linear-gradient (45deg, rgb(118, 201, 255), rgb(247, 255, 222));
}
body{
background: linear-gradient (45deg, rgb(118, 201, 255), rgb(247, 255, 222));
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14469.58.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.86 Safari/537.36

Challenge: Step 2

Link to the challenge:

Hello,
Welcome to the Forums :wave:


You have an extra space after linear-gradient


It helps to understand your problems better if you describe your issue in the Tell us what’s happening: section.

hahahaha thank you so much, i thought i will get crazy for a second. have a great day!!! :smiley:

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