Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:
can someone help me with this? i don’t know what i am doing wrong.

" Test

Sorry, your code does not pass. Keep trying.

Hint

You should use the background property in the body selector."
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 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36

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

Link to the challenge:

there should not be any spaces after the word gradient as it is a function .

1 Like

Oh right! i dindt notice it! Thanks a lot

1 Like