CSS Selector not working

https://www.codecademy.com/paths/web-development/tracks/styling-a-website/modules/learn-css-selectors-visual-rules/lessons/css-setup-selectors/exercises/nested-elements

Hello guys, please help I am stuck on this exercise. I was asked to insert
{color: teal;} into the curly brackets for a .destination h5 selector, but it still asks me if i am sure i put color: teal; within the curly brackets which i did and still get no result. Please what am i doing wrong?

Can you paste your code here to see what’s happening?

(Remember to format with </> button before pasting, include the html and css)

p {font-family: Arial;}

h1 {color: maroon;

}

.title{color: teal;
}

.uppercase {text-transform: uppercase;

.publish-time{color: gray;

}

.cursive {font-family: cursive;

}

.capitalize {text-transform: capitalize;
}

h2.destination {font-family: cursive;
}

.description h5 {color: teal;
}

This is the CSS code

Please follow this link to access the full code…

https://www.codecademy.com/paths/web-development/tracks/styling-a-website/modules/learn-css-selectors-visual-rules/lessons/css-setup-selectors/exercises/nested-elements

I don’t have pro so I can’t access it… you can always right-click and inspect element. CSS errors tend to be pretty descriptive (if you use firefox they even link you to mdn)

@design5410603509 You say you had to color .destination h5 but your css code shows you’re making .description h5 teal.

1 Like