Assessment request for Cascade skill test 1

Hi. Any Assessment’d be appreciated. Thank you! :grinning:

I happened to notice that in this test all three values (inherit, unset, and initial) made the same result. Did I get it correct?

inheritance-control

@harryghgim You have got the right idea here, although the question does ask you to reset the <a> element’s background color using a new rule.

Basically, I think the question is asking you to write a new rule with a high-specificity selector that will override the existing one, and not use an actual color value, instead using a keyword like initial, inherit, or unset. This would work:

#outer #inner a {
  background-color: unset
}  
2 Likes

Oops. I missed creating a ‘new’ rule part. :sweat_smile: I’ll read more carefully next time!