Learn CSS Transforms by Building a Penguin - Step 2

Hey guys, i’m trying to build a penguin and right now, i’ve been asked to target the body element and give it a background property and also a linear gradient. I’ve done this but it doesn’t seem to even acknowledge the background property in the body selector. Please what am i doing wrong?

<!-- 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 */
body { 

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:

linear-gradient(degrees, color1, color2)…


I’ve done that several times, it doesn’t still work… It still says "
You should use the background property in the body selector".

Nvm, i just got it. Thank you!

The solution yoou found would be helpful.

Hi! We don’t allow the sharing of full coding solutions on the forum. If you are stuck on a lesson, please use the ask for help button. Thank you.

linear-gradient instead of linear gradient

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