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 trialYuya Mihara
729 PointsMine did not center
Mine did not center when I tried to make the title "background" center
3 Answers
Jacob Wilson
Full Stack JavaScript Techdegree Student 522 PointsHello, 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.
Chris Adams
553 PointsThis is great advice, Jacob Wilson ! It's always a good idea to make sure that you've saved both the CSS and HTML file!
Here are some quick keyboard shortcuts to keep in mind when following along in workspaces. Note that the "Control" button in Windows is often just typed as "CTRL" (and can usually be found in the bottom left corner of your keyboard), and on Mac computers you find the "Command ⌘" or "Cmd" button just immediately to the left or the right of the space bar. When you see a shortcut written as CTRL + S or Cmd + S this means that you should hold down the control or command button while you press the letter S.
Microsoft Windows
Save the current file: CTRL + S
Undo your last edit: CTRL + Z
Redo your last edit: CTRL + SHIFT + Z
Find a match in the current file: CTRL + F
Increase Font Size: CTRL + 9
Decrease Font Size: CTRL + 8
Mac / OSX
Save the current file: Command + S
Undo your last edit: Command + Z
Redo your last edit: Command + SHIFT + Z
Find a match in the current file: Command + F
Increase Font Size: Command + 9
Decrease Font Size: Command + 8
Nick Pettit also has a really great introductory video to help you work effectively with Workspaces! Check it out here!
Roberto Reyes
1,865 PointsAfter 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!
Rodrigo Mendoza Vazquez
3,044 PointsI have the same issue. I've saved both the html and css and nothing happened . can someone help me out here please. thanks.
Taylor Klar
Front End Web Development Techdegree Student 677 PointsTaylor Klar
Front End Web Development Techdegree Student 677 PointsHello,
Did you click 'save' on both your .html and .css workspaces?