Learn CSS: Selectors and Visual Rules


#1

https://www.codecademy.com/courses/learn-css-selectors-visual-rules/lessons/css-setup-selectors/exercises/nested-elements?action=lesson_resume&course_redirect=learn-css

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>

style.css

h5.description {

}


#2

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.

h5.description

What you want is the <h5> nested inside.

.description h5

#3

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