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 trialEmbie Wong
3,180 PointsProblem with uploading files to atom and previewing them
Hi,
I'm trying to upload a website I made in Treehouse Workspaces. I followed the steps, but when I try to preview them the CSS I applied isn't there, and the links don't lead to the other tabs (from the home page, it won't go to the contact page if you press contact). It says that the file was not found.
Thanks!
2 Answers
Peter Jonsson
1,857 PointsSounds like you have a links issue. I noticed, when i downloaded the files from the workspace, I had to take out the /.. from the first part of the index.html file, that is the line that links to "/../styles.css"
Maybe you are in a similar situation.
Sometimes it is <link rel="stylesheet" href="css/style.css">
It all depends on the actual file-structure and folder orientation of the particular project.
If you check out :
https://teamtreehouse.com/library/understanding-file-paths
it will help a lot. BR Peter
Embie Wong
3,180 PointsOk! Thanks!