Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:
Describe your issue in detail here.
I’m not sure why my code is not passing. I’ve looked at other posts on the forum and still can’t quite figure it out.

  **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/103.0.5060.114 Safari/537.36 Edg/103.0.1264.49

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

Link to the challenge:

Hello @malikj43 , you did a great job but when targeting the body element you don’t need to start with a dot " . " just write “body” .I hope this will help :+1:t3:

1 Like

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