Learn CSS Transforms by Building a Penguin - Step 2

Tell us what’s happening:
can’t get pass this step, please help

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 */

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

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

Link to the challenge:

Add the closing parenthesis to the linear-gradient, after the third color (before the semi-colon).

i did that, still not passing

Post the code here again.

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

Read the instruction again. In your first post you have 45deg for direction, now you have 40 deg. Also, in the first post you don’t have a blank space after the “linear-gradient”, now you have.

the code passed! thanks a lot

1 Like

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