Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:
have the body selector in place and the background property is in place also. It’s telling me that I need the background property in the body selector. It looks to me like I’ve already done that

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 clockwise, rgb(118, 201, 255), rgb (247, 255, 222));
}

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) 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:

couple of issues.
1- the word ‘clockwise’ is a description of the angle and is not valid css
2- rgb is a function. You should not leave any spaces after it and the bracket right after

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