Improve Compatibility with Browser Fallbacks-mrym

Tell us what’s happening:

Your code so far


<style>
  :root {
    --red-color: red ;
  }
  .red-box {
    background-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 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36.

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

You did right but the challenge expect you to use the shorthand background instead of background-color. You also need a space after the colon.

Other than that there are spaces missing or added around in the other rules that make couse the tests to fail. In that case I suggest you reset your code.

there is an extra space before semicolon

missing space here