Tell us what’s happening:
don’t understand why it’s not pass…
**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 */
body {
background: linear-gradient(45 deg,rgb(118, 201, 255)rgb(247, 255, 222));
}
**Your browser information:**
User Agent is: Mozilla/5.0 (Linux; Android 11; 21051182G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36
Challenge: Learn CSS Transforms by Building a Penguin - Step 2
Link to the challenge:
vladshwartz:
background: linear-gradient(45 deg,rgb(118, 201, 255)rgb(247, 255, 222));
Hey it looks like you’re missing a comma between the two colors. it should be this
background: linear-gradient(45 deg,rgb(118, 201, 255), rgb(247, 255, 222));
Hope this helps!
1 Like
nope it is not the case’ i think the pake not recognize the body selector or the background
I’m having the same problem.
I am having the same problem. I have the comma between the two colors and it is not moving forward. The Ferris Wheel is stuck on step 1 for LINK and the Penguin is stuck on step 2 for background gradient. I cannot finish my certification until I get these sorted out.
.body {
background: linear-gradient(45deg, rgb(118, 201, 255), rgb(247, 255, 222));
}
I wrote my code on my android xiaomi tablet, then i move to my mac, and wrote it again, try it, if it’s not work I’ll send my code
Hey i have the same problem and i dont understand how to solve it. Hope yo can help me, thank you
As i say, try to write it from another device and from scratch
miss comma and delete the space between 45_deg → 45deg
add a space between 45deg and its comma it works