I can't seem to pass the stage

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

:root {
  --red-color: red;
.red-box {background:var(--red)

  background: var(--red-color);
  height: 200px;
<div class="red-box"></div>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Linux; Android 9; A3_Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.70 Mobile Safari/537.36

Challenge: Improve Compatibility with Browser Fallbacks

Link to the challenge:

Hi @Flexyprince !
Welcome to the forum!

The problem is here

The test wants you to use background of red.
Instead you are trying to using a variable which is incorrect.
You are also missing a semicolon.
Once you change that one line then the test will pass.

Hope that helps!

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.