Improve Compatibility with Browser Fallbacks 2

Tell us what’s happening:
As you can see I’ve tried putting in the browser fallback in each possible area.

I’m really not sure where I should be placing “color: red;” based on the following message the test gives me,
“Your .red-box rule should include a fallback with the background set to red immediately before the existing background declaration.”

Your code so far


<style>
  :root {
    --red-color: red;
    color: red;
  }
  .background {
    color: red;
  }
    

  .red-box {
    color: red;
    background: var(--red-color);
    height: 200px;
    width:200px;
    
  }
</style>
<div class="red-box"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-css/improve-compatibility-with-browser-fallbacks

You do not need this declaration in your code.

You need to use just color “red” instead of this.
Does that help?

.red-box {
color: red;

ur code is suppose to be set at
background: red;
not color:red