Improve Compatibility with Browser Fallbacks newbie problems

Tell us what’s happening:
i dont understand what i am doing wrong, anyone please help

Your code so far


<style>
  :root{--box-color: red;}
  :root {
--red-color: red;
  }
  .red-box{background: var(--box-color, red);}
  .red-box {
    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 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.100 Safari/537.36.

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

I suggest you reset your code. Now look at the .red-box selector declarations, there is an empy line right above the background rule. You need to add in that empty line a background declaration that doesn’t use variables so that browsers that are not compatible with variables can still give a color to the background

I think I am still doing something wrong or I didn’t understand you, thank you for your help again

thank you very much, finally got it