How i can used Fallbacks

Tell us what’s happening:

// running tests Your


rule should include a fallback with the


set to red immediately before the existing


declaration. // tests comp
Your code so far

:root {
  --red-color: red;

.red-box {
  background:red,/* this is the browser fallback */;
  background: var(--red-color);
  height: 200px;
<div class="red-box"></div>

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0.

Challenge: Improve Compatibility with Browser Fallbacks

Link to the challenge:

small syntax error: a css rule ends with a semicolon, not with a comma

1 Like

ieahleen’s right you should end with a semicolon.

1 Like

thank you for helping me

thank you for helping me :wave: :raised_back_of_hand:

1 Like