Small bug in CSS basics

In the CSS basics exercise use-css-variables-to-change-several-elements-at-once/

the exercise doesn’t recognize the spelling grey as valid while HTML does. This can result in a false negative.

Only spelling gray is recognized as valid by the exercise.

In the penguin class, change the black value to gray , the gray value to white , and the yellow value to orange.

It specifically states to use the CSS color gray. If you’re using grey, even if it’s recognized by your browser, you’ve missed the mark. Not a CSS bug, simply a misinterpretation of the given spec.

1 Like