Code error on Basic CSS: Attach a Fallback value to a CSS Variable

I just noticed there’s an error on Basic CSS: Attach a Fallback value to a CSS Variable.

It’s coded as background: var(–pengiun-skin, black); for both top and bottom

Where the penguin has the i and the u reversed. This should be corrected to avoid confusion. Please correct.

That typo is deliberate.

Rather than fix the typo, add a fallback value of black to the background property of the .penguin-top and .penguin-bottom classes.

1 Like

Hello!

I believe this is not a bug, but is intentional. The purpose of this exercise is to demonstrate how fallback values work. The pengiun is intentionally misspelled in order to render the fallback value.

2 Likes

I now see the logic in it.