Learn CSS: Selectors and Visual Rules



Can Someone help me with h5.description class it doesn't work. I have nested all h5 top attractions with this class and still doesnt work

 <h5 class="description">Top Attractions</h5>


h5.description {



Add a selector that targets all of the h5 elements nested inside elements with class .description.

You are targeting the <h5> with a class of description.


What you want is the <h5> nested inside.

.description h5


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.