Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

help with css

Hoping someone can help me with this,

I am trying to follow along a video "Select and Style Multiple Elements by Class"

I am stuck where she add's padding to a class title class. I do everything as her (or at least I think I am) but nothing changes when I preview my work. What am I doing wrong?

Here's the code

.card-title { text-align: center; border: solid black 3px; border-radius: 10px padding: 15px }

Thank you

2 Answers

well start by checking the border

 border: 3px solid black;

" where she add's padding to a class title class. "

But you are using card-title class ".card-title"

Recheck! Are you targeting the right class?

Figure it out, stupid mistake, I forgot to add semicolon :)

:+1: