Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:

The prompt says ‘you should use the background property in the body selector’. I thought i did?

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(45 deg, rgb(118, 201, 255), 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/128.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Transforms by Building a Penguin - Step 2

Blockquote

Hi there and welcome to our community!

The error message is a little misleading. Your issue is that you should not have a space directly before the word ‘deg’ (i.e. 45deg not 45 deg).

1 Like

Thank you! I corrected that, but the error is still saying the same thing, that I need a background property in the body selector

@880808 , it should be
like this.
Mod edit: code removed

It is great that you solved the challenge, but instead of posting your full working solution, it is best to stay focused on answering the original poster’s question(s) and help guide them with hints and suggestions to solve their own issues with the challenge.

We are trying to cut back on the number of spoiler solutions found on the forum and instead focus on helping other campers with their questions and definitely not posting full working solutions.