Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**
/* file: index.html */
<!DOCTYPE html>
<html lang="en">

  <meta charset="UTF-8" />
  <link rel="stylesheet" href="./styles.css" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />

/* file: styles.css */
background: linear-gradient(45deg)((rgb(118, 201, 255), rgb(247, 255, 222));
  **Your browser information:**

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ Safari/537.36

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

Link to the challenge:

Can you state the issue


Sorry, your code does not pass. Try again.


You should use the background property in the body selector.

The issue is with the 45 deg enclosed in the brackets
Try the below

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

The syntax is incorrect.
More examples can be useful, MDN has them:

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