Please. help me

Tell us what’s happening:

  **Your code so far**

<style>
:root {
  --red-color: red;
}
.red-box {

  background: var(red,--red-color);
  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_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.192 Safari/537.36.

Challenge: Improve Compatibility with Browser Fallbacks

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

Try background-color: var(--red-color);.

1 Like

This is a learning platform so we usually try to avoid blurting out the answers, preferring to steer then in the right direction.

2 Likes

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