Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:
i dont find a problem in my css … even thought it couldn’t submit,

  **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));
}

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

Link to the challenge:

it’s fine i had to omit the dot before body .

3 Likes

I did the same thing…

i think the error message should be adjusted to target the specific error of the body selector because my main focus was all of it at the css property and the value :grinning: :grinning: :grinning: :rofl: :rofl: :rofl: :rofl: :rofl: i almost spent my entire day on that :rofl: :rofl: :rofl:

no need a dot before body{}

still did not find solution any help ?

If you have a question about a specific challenge as it relates to your written code for that challenge, and you’ve tried to solve it at least 3 times so far and still need some help, just click the Ask for Help button located on the challenge (it looks like a question mark).
This button will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.

Thank you.

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

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