Red box set to red color

Tell us what’s happening:
Describe your issue in detail here.
I really don’t know what am i doing wrong?

  **Your code so far**

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

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36

Challenge: Improve Compatibility with Browser Fallbacks

Link to the challenge:

Hi @Brayanholaaaa !

Welcome to the forum!

The problem is here

You don’t need to add anything there.

You only needed to add the background: red; for the test to pass.

When I delete that ,red then the test passes for me.

1 Like

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