check this coours below from codecademy
the “<5>” is not have “class=destination”, so, why we can selec h5 using “.description h5” in the css ???
confusing
check this coours below from codecademy
the “<5>” is not have “class=destination”, so, why we can selec h5 using “.description h5” in the css ???
confusing
sorry a litlte typo, (class=“destination”)
What do you mean by <5>
? Do you mean <h5>
?
.description h5
does not target h5 class="description"
but a h5 with a parent element which has the class “description”.
oh yea,i see, the h5 is the child hehe, thanks man