Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS CSS Layout The CSS Box Model Padding

Angel Miranda
Angel Miranda
2,434 Points

the practice website won't update when I make changes on css or html

this happened last week too but I didn't think much of it cause I figured the bug would go away but it hasn't.

2 Answers

Steven Parker
Steven Parker
217,570 Points

To see the results of changes made in the editor, you must first save the new version using the menu or Ctrl-S shortcut, and then refresh the page in your browser.

Angel Miranda
Angel Miranda
2,434 Points

I've tried that but still won't update.i even rename style.css and changed that name on index.html and tried that before changing it back to style.css

Steven Parker
Steven Parker
217,570 Points

If you share a snapshot of your workspace, we can take a closer look at the issue.

Steven Parker
Steven Parker
217,570 Points

The index.html links to the stylesheet "style.css" located in the css folder, but that stylesheet file is empty.

There is another file also named "style.css" in the home folder that contains a rule for the header element, but that one is not being used by the index file.

Delete the empty one and then move the other one into the css folder, and your styles should appear.