Creating a browser fallback

This particular exercise is asking to to make a browser fallback in the even that an older browser doesnt recognize the variable syntax.

“It looks like a variable is being used to set the background color of the .red-box class. Let’s improve our browser compatibility by adding another background declaration right before the existing declaration and set its value to red”.

I have tried everything and nothing will resolve.

*NOTE: I am an absolute beginner and am having great difficulty understanding most of what im doing.

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 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0.

Challenge: Improve Compatibility with Browser Fallbacks

Link to the challenge:

background-color and background are not the same property.

Ah, there’s my mistake. Thank you so much!