Learn CSS Transforms by Building a Penguin - Step 2

Hey, I can’t see my mistake in the background. Can someone help me to find out? 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(rgb(118,201,255) rgb(247,255,22));
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0

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

Link to the challenge:

  • the colors should be separated by a comma
  • the last number in the second color is different
  • read the instruction again. You didn’t add the 45deg as the first value, before the first color

Thanks. I fixed my mistakes but it stills gives me an error:

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

Use analogy. A comma is needed after “45deg” too.

Oh okay, sorry! I did some projects using gradient and I didn’t put a coma after. I also saw in the Mozila Dev website that it doesn’t have one. I will be more careful next time!