No entiendo el porque me pone que es incorrecto el respaldo cuando yo lo he puesto todo bien y lo he mirado hasta en videos y todo

Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.

  **Tu código hasta el momento**

<style>
:root {
  --red-color: red;
}
.red-box {
  background: red;
  background: var(--red-color, red);
  height: 200px;
  width:200px;
}
</style>
<div class="red-box"></div>
  **Información de tu navegador:**

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36

Desafío: Mejora la compatibilidad con navegadores por medio de configuraciones de respaldo o “browser fallbacks”

Enlaza al desafío:

They want one time with the fallback and one time with the variable. Your second background should only be using the variable, not also have the fallback.

Lo siento, pero no termino de entender. Entonces que deberia de hacer?

You have it in this format:

  background: [fallback];
  background: var([variable], [fallback]);

it should be:

  background: [fallback];
  background: var([variable]);

When I fix that, your code passes for me.

Does that make it more clear? I’m sorry but I don’t want to offend your ears with my terrible Spanish. (My wife calls it a hate crime against hispanohablantes everywhere.)

Muchisimas gracias. Tu tranquilo yo te he entendido perfectamente.

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