freeCodeCamp.org HAPPY SUNDAY Step 49 Building a set of colored markers

The step first started discussing gradient transitions then asks me to turn the ‘background-color’ property in the .red element to ‘background’. I thought I did that simple task but it won’t approve my code.

Here’s my code for reference:

.red {
  background: rgb(255, 0, 0);
}

I’ve edited your post for readability. 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 (’).

The code you have shared works on my end. Please ensure that you have disabled any extensions that interface with the freeCodeCamp website (such as Dark Mode and Ad Blocker), and set your browser zoom level to 100%. Both of these factors can cause tests to fail erroneously.

You can also try another browser

Hope that helps!

i ended up switching browsers thank you

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