Assessment wanted for Cascade Skill Test I

Test your skills: The Cascade - Learn web development | MDN (mozilla.org)

Source Code & Live: Cascade Skill Test I (codepen.io)

Hello there,

I already implement the solution without using the color property, is this the correct way of doing it, and is there another more efficient solution that existed?

Thank you in advance.

Hi @ricojrico and welcome to the community :wave:

Your solution is correct. Actually any of the four special keywords will work in this example (“unset”, “initial”, “inherit” or “revert”). I recently explained why to another user if you want to have a look:

I hope that helps!
Michael

1 Like

Thanks a lot, that really helps to shed light on those four “tricky” special keywords! @mikoMK

1 Like

Cool! Glad it helped.
They are indeed tricky! Not used too much in real projects but it is always good to know them.

1 Like