Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:

They say my “ You should use the background property in the body selector.” but I already did that. I don’t know what’s the prob?

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

/* User Editable Region */

body {
  background: linear-gradient (
    45deg,
    rgb(118, 201, 255),
    rgb(247, 255, 222)
  );
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15

Challenge Information:

Learn CSS Transforms by Building a Penguin - Step 2

Hi,
I removed the space after “linear-gradient” and it passed. Hope this helps.

1 Like

Yeah, it worked! Thankyou

1 Like