diff --git a/curriculum/challenges/english/01-responsive-web-design/basic-css/attach-a-fallback-value-to-a-css-variable.english.md b/curriculum/challenges/english/01-responsive-web-design/basic-css/attach-a-fallback-value-to-a-css-variable.english.md index 8f8ff3d5a8..ed3991bf43 100644 --- a/curriculum/challenges/english/01-responsive-web-design/basic-css/attach-a-fallback-value-to-a-css-variable.english.md +++ b/curriculum/challenges/english/01-responsive-web-design/basic-css/attach-a-fallback-value-to-a-css-variable.english.md @@ -8,7 +8,7 @@ videoUrl: 'https://scrimba.com/c/c6bDNfp' ## Description
When using your variable as a CSS property value, you can attach a fallback value that your browser will revert to if the given variable is invalid. -Note: This fallback is not used to increase browser compatibilty, and it will not work on IE browsers. Rather, it is used so that the browser has a color to display if it cannot find your variable. +Note: This fallback is not used to increase browser compatibility, and it will not work on IE browsers. Rather, it is used so that the browser has a color to display if it cannot find your variable. Here's how you do it:
background: var(--penguin-skin, black);
This will set background to black if your variable wasn't set.