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
Yuya Mihara729 Points
Mine did not center
Mine did not center when I tried to make the title "background" center
Hello, I am very new but had the same problem. I saved my new code in CSS but did not save the work I had done in HTML just before. Once I saved both in their separate HTML and CSS pages and then refreshed the profile it centered. I thought saving in one would save for both HTML and CSS but it doesn't. I know this is late but maybe it will help some one.
Roberto Reyes1,865 Points
After about an hour and a half... I finally fixed it!! What you want to do is instead of writing .card-title on CSS write h2. This will make both "Background" and "Goals" align to the center on the webpage. Go back on CSS, delete h2, and rewrite .card-title.... your welcome!
I have the same issue. I've saved both the html and css and nothing happened . can someone help me out here please. thanks.