Learn CSS Transforms by Building a Penguin - Step 2

they are asking to use background property in the body selector. cannot find where I went wrong

  **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(45 deg,rgb(118, 201, 255), rgb(247, 255, 222));
}
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36

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

Link to the challenge:

You’ve selected the body correctly, the background property is correct. Have a really close look inside your linear gradient. You’ll probably be kicking yourself when you find out what’s stopping it from working but it’s good practice. :+1:

thanks, bro, i finally found out :smiley:

1 Like