The following are links to additional questions that our community has asked about this exercise:
This list will contain other frequently asked questions that aren’t quite as popular as the ones above.
Currently there have not been enough questions asked and answered about this exercise to populate this FAQ section.
This FAQ is built and maintained by you, the Codecademy community – help yourself and other learners like you by contributing!
Not seeing your question? It may still have been asked before – try searching for it by clicking the spyglass icon () in the top-right of this page. Still can’t find it? Ask it below by hitting the reply button below this post ().
In this exercise we created multiple selectors h5 and p and made a font-family property set to Georgia, specificity from high to low would be ID , CLASS and TAGS respectively but in this lesson creating an h5 and p selector and making its font Georgia changes all h5 and p elements. how come in the code below h5{color:rebeccapurple;} doesn’t override all the h5 elements but in this exercise it overrides all h5 and p elements eventhough they have the same specificity in the previous lesson Chaining and specificity? Is it because were declaring a change to a different attribute and property which is (font family: Georgia;) ?
A very late reply but I’m just now going through this lesson and conversation. So for the sake of having the question answered for myself and future students, here is the link
Would the styling code still work if we didn’t structure the selectors in stack-form:
h1,
li {}
But rather in line form?
h1, li {}
Would the styling work the same?
Or does it have to be in stack-form?