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
Shakeno Hullum
502 PointsI can't get the background color to change.
i am working on creating breakpoints but my background wont change what am i doing wrong? https://w.trhou.se/vsso2u19j7
1 Answer
Tobias Helmrich
31,604 PointsHey Shakeno,
I think the problem is that all of your HTML files are in the directory "index.html". However you're specifying the path to your css files like "css/main.css". This only works if the css folder is in the same directory like the HTML files. If you keep this folder structure you have to move one directory back like this: "../css/main.css". Another possibility would be to move all of your HTML files outside of the "index.html" folder into the root directory.
I hope that helps! :)