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

HTML How to Make a Website CSS: Cascading Style Sheets Use ID Selectors

Christopher Sarsfield
Christopher Sarsfield
289 Points

main.css not working

Try as I may it just doesn't seem like my .css is linked correctly. I use atom to follow along with the lesson but I have copied some code here to share a snapshot

https://w.trhou.se/ujwz9u7n96

Thanks !

1 Answer

rydavim
rydavim
18,814 Points

Welcome to Treehouse!

It looks like your file structure and your links don't quite match. Remember that most things in programming are case-sensitive. Right now it looks like your css folder is named CSS but you link to css/main.css in lower-case. You may run into a similar problem with your Img folder and any img/some-image.jpg type links.

Double check the capitalization and spelling of any relative links you may have and see if that helps.

Happy coding!