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 trial

CSS CSS Layout The CSS Box Model Padding

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.

3 Answers

Steven Parker
Steven Parker
231,268 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.

Steven Parker
Steven Parker
231,268 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.

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
231,268 Points

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