HTML Introduction to HTML and CSS Make It Beautiful With CSS Select and Style Multiple Elements by Class

why wont my code work for goals border?

<h2 class="card-title">Goals</h2> it wont show the border. I copied and pasted just like treasure. Help

Aakash Srivastava
Aakash Srivastava
5,413 Points

Can you please post your whole code here?

Sergio Felix
Sergio Felix
11,510 Points

Without knowing the value you have defined for class .card-title it's literally impossible to troubleshoot your problem.

Please paste your style.css contents and we can take a look at the problem. ;-)

1 Answer

Ra'fat Ahmad
Ra'fat Ahmad
Front End Web Development Techdegree Student 5,899 Points

check your .card-title style in style sheet, maybe you have a mistake there.

you can use Chrome DevTools to see if there is an Error in your CSS code.