Learn CSS Transforms by Building a Penguin - Step 2

They are saying my problem is " You should use the background property in the body selector." Where is the error?

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">

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

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

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

Challenge: Learn CSS Transforms by Building a Penguin - Step 2

Link to the challenge:

1 Like

next to the words linear-gradient you have a space that space is not neeeded

1 Like

Its always a single character, isnt it. Lol.

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