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 trialHaseeb Ullah Rahim
1,709 PointsHow to style another class:
How to make the (goal) class as the background class
1 Answer
Rohald van Merode
Treehouse StaffHey 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!
Haseeb Ullah Rahim
1,709 PointsHaseeb Ullah Rahim
1,709 PointsHello Ronald van Merode Thank you for your help, Yes I saw the next video of multiple classes style I just panicked before watching my next lesson. But thank you again for you response.