Trouble with Browser Fallbacks

Tell us what’s happening:

Hi! I’m having trouble remembering how to create fallback values. I have to declare it before the existing background declaration? Can anyone help jog my memory?

“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;
  }
  .red-box {
    
    background: var(--red-color, red, red); 
    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_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

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

To give a fallback value, simply give background color of red in the previous line (empty line).