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!
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
Haseeb Ullah Rahim1,703 Points
How to style another class:
How to make the (goal) class as the background class
Rohald van MerodeTreehouse Staff
Hey Haseeb Ullah Rahim 👋
Great question! To add the same styles to the Goal heading you can give it the same
class attribute as done with the
Background heading at this part of the video. 🙂
Once you've added the
class="card-title" attribute to the
<h2>Goals</h2> your headings will have the same styles applied 😃
Hope this helps!