Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:

I cant understand what is wrong, body selector has a background property. can someone help

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

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Transforms by Building a Penguin - Step 2

Hello!
Perhaps, leaving a space after the commas would help to pass the step.

Happy coding!

1 Like

thank you for your answer, but unfortunately it did not help ;_;

The blue value of your first rgb color should be 255 not 225.

1 Like

Addition to the above post, remove space between linear-gradient and it’s values.
@sparks999

I am sorry!

SpookyBlump is correct. The first rgb should have 255 as the last amount.

Happy coding!

Thank you all so much for help <3

1 Like

This worked for me, thank you for posting the answer

1 Like