Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:

Did I do any mistake or is the step-2 incorrect?
I read that it isnot working in firefox, but poor me I’m using chrome and its showing me the error.

Please help, thanks in advance.

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,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/121.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Transforms by Building a Penguin - Step 2

Hi there and welcome to our community!

You should have no space between linear-gradient and the opening parenthesis which follows it.

1 Like

Ohh ya, I see it now.Thank you.

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