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
Adam Tipton
Courses Plus Student 348 Pointscan't get my css folder to work with my html index.
I have the main.css file in the css folder. The href is all correct, but the file will not work the the html index. Help
4 Answers
Martin Mekhaiel
14,297 Pointsplease post your code :)
Martin Mekhaiel
14,297 Pointsuse rel="stylesheet" instead of rel="stylesheets"
regards : )
Maximilian Stöhr
7,479 Points"From the main.css file body { background-color: orange; } lines from the index <link rel="stylesheets" href="css/normalize.css"> <link rel="stylesheets" href="css/main.css">"
Don't get this yet.. You need, between the <head></head> tags in your index.html file the following line of code:
<link type="stylesheet" href="css/main.css> The only fault i see is the plural in the type attribute,
does it work with removing the s?
Adam Tipton
Courses Plus Student 348 PointsI cant believe i didn't catch that. My brain didn't register it being plural. Thanks man cheers
Adam Tipton
Courses Plus Student 348 PointsAdam Tipton
Courses Plus Student 348 PointsFrom the main.css file body { background-color: orange; } lines from the index
<link rel="stylesheets" href="css/normalize.css"> <link rel="stylesheets" href="css/main.css">