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 trialRyan Munsch
6,552 PointsWhy aren't my CSS files loading to website along with html files?
I ended up buying my domain name and hosting through GoDaddy and their cPanel hosting service instead of NameCheap/Dreamhost because GoDaddy was a bit cheaper. I've followed all of Nick's steps from the video to the best degree possible with through cPanel and Cyberduck but now my CSS files won't upload to my website. When I go to my website all it shows is the HTML. Can someone please help me solve this problem?
Thanks
1 Answer
Kit Navock
4,540 PointsI've didn't follow through with this at the time I went through this domain, however I've uploaded a few sites recently. It's a pretty straightforward process.
If all of your files are working locally, it should work online as well. Here's the steps I would folllow:
1) zip your files 2) log into the cpanel 3) go to the file manager 4) select upload file 5) upload the file to your website 6) done (may take a few hours to populate correctly)
If all else fails, call Godaddy. They're pretty good about helping people the the hosting set up.
Bryce Watson
1,599 PointsBryce Watson
1,599 PointsWithout seeing your code it's rather hard to know the answer... One thing that comes to mind is perhaps the file directory has changed, possibly causing the path to your css file to change as well?