Spot the bug - #16

Can you find the CSS bug?

:root {
  --brand: #4f46e5;
}
.button {
  color: var(--brnad);
}

Reply with what is broken and how you would fix it.

Hari

--brand is spelled wrong in the var() call — you wrote --brnad, so the color value never gets picked up.

.button { color: var(--brand); }