Responsive web design/task two/learn css by building a cat "painting"

I hope this photo works. I am building a cat painting in the intermediate css course and I have added the code for a linear gradient exactly as it is described on this website(linear-gradient() - CSS: Cascading Style Sheets | MDN) and in the instruction on free code camp and its not working. Anyone know whats going on here? Please help.

It helps if you post all your code and a link to the step instead of screenshots. Screenshots are not that helpful compared to posting the actual code. For future use you can see the help button in your screen shot. Using that button is the best way to ask a question about a step because it will give us everything we need.

For now if you can post all code by using the following below steps, and provide a link to the challenge

When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (').

Okay good to know thank you. In any case I solved it by adding the rest of the code it was asking for which is strange. I guess it needed the comma to activate the code?

Right, the challenge was probably expecting the second color, and because your linear-gradient didnt have the second color it wasnt passing. You would use the comma to separate the colors.

Sometimes the hints arent that helpful for the actual issue

Please don’t post screenshots. Post your code itself

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