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 trialAngela Farnsworth
865 Pointscss files won't link up with index file
I have been trying to search the forums in hopes of being able to find the answer but I am still unable to get it figured out. I have checked to see if I wrote the code correctly and to make sure files are in the right place. Again as far as I can see everything is but the css files are still not linking up at all.
I also tried moving the css file to another location to see if maybe it was just the folder but nothing.
Is this an error with the program? I'd like to get it figured out before moving on.
9 Answers
Angela Farnsworth
865 PointsI got it working... what I did was copy and paste the code from the project files. Not sure what the issue is with mine stuff but at least its working now!
Thank you everyone for the help!
barnabasadedoyin
1,501 PointsHi Angela, can you kindly post your code to look things up? External CSS will invariably link if all syntax are in place.
Dustin Matlock
33,856 PointsAngela, if you could post your code we can take a look.
Angela Farnsworth
865 PointsI'm not quite sure how to post my code but did take a screen cap. I put the code into the index page to make sure I wasn't messing up the code in the css files.
http://i377.photobucket.com/albums/oo211/Silivrenwolf/ScreenShot2014-11-21at80537PM.png
Dustin Matlock
33,856 PointsIt sounds like there is a problem with the way your files are in their folders. Make sure your CSS files are in the CSS folder, and of course then you will have your index.html file one level up from the CSS folder.
Andre Koehler
1,008 PointsI had the same problem originally then found out that I had labeled the folder in caps as CSS, but wrote the code as css.
Joshua Alley
1,590 PointsThis was killing me. Thanks for the comment.
Angela Farnsworth
865 PointsNope everything is in the right place. No caps with the CSS. Still not connecting to the css files. I guess I can try deleting everything and creating the files again to see if that works.
Angela Farnsworth
865 PointsJust deleted everything and started over and still no luck. :/
Dustin Matlock
33,856 PointsAngela, could you upload the entire project to Dropbox?
Angela Farnsworth
865 PointsUploaded it to dropbox. I hope I did it correctly.
https://www.dropbox.com/s/mrqdh6zyebm8kj5/mulbergproject.zip?dl=0
Garrett Sanderson
12,735 PointsGarrett Sanderson
12,735 PointsPost your code so we can look more into the issue.