Learn CSS Transforms by Building a Penguin - Step 2

You should use the background property in the body selector.

am I not using it correctly?

Your code so far

/* file: index.Ext.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.Ext.css */

body{
  background:linear-gradient(
  45deg 
  rgb(118, 201, 255)0%,
  rgb(247, 255, 222)100%);
} 
    

Your mobile information:

SM-S928B - Android 14 - Android SDK 34

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

Link to the challenge:

are you sure you put all the needed commas?
syntax errors in css make so that the css with syntax errors is ignored

1 Like