Hi. Any Assessment’d be appreciated. Thank you!
I happened to notice that in this test all three values (inherit, unset, and initial) made the same result. Did I get it correct?
Hi. Any Assessment’d be appreciated. Thank you!
I happened to notice that in this test all three values (inherit, unset, and initial) made the same result. Did I get it correct?
@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
}
Oops. I missed creating a ‘new’ rule part. I’ll read more carefully next time!