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

Amy Tomey
Amy Tomey
6,535 Points

I can't see the problem. Background and goals are not centered, and there is no border?

here is my code... please help

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

<h2 class="card-title"> Background </h2>

<h2 class="card-title">Goals</h2>

1 Answer

Cameron Childres
MOD
Cameron Childres
Treehouse Moderator 11,542 Points

Hey Amy,

Remove the equal sign after .card-title so it looks like this and you should be sorted:

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