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 HTML Basics Going Further with HTML Linking to Sections of a Web Page

Files don't link

My article.html file doesn't preview anymore; when I hit the preview button I get the index webpage. When I try to use the links I set up from index to article, I get a 404. I created another file as a test, and when I preview it, it too brings up the index webpage. I can't imagine this is something I coded. What do I do?

Heidi Fryzell
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Heidi Fryzell
Front End Web Development Treehouse Moderator 25,178 Points

Hi Chloe,

If you post your code, I will take a look. You can take a snapshot of your workspace by clicking on this icon in the top right corner of your workspace, and it will give you a link that you can share that links to a preview of your workspace.

snapshot icon

2 Answers

Heidi Fryzell
seal-mask
MOD
.a{fill-rule:evenodd;}techdegree seal-36
Heidi Fryzell
Front End Web Development Treehouse Moderator 25,178 Points

Hi Chloe,

Something really weird is going on in your workspace. There is no html in your article.html and your index.html files.

They both just say "testing testing..." I think maybe you accidentally overwrote the html in those files?

no html

I would recommend deleting your workspace and going back to the video and launching a new workspace.

Hope that helps. Heidi

Sorry, I should have clarified. I actually restarted the whole course because I couldn't figure out what the code problem might have been, so I just did a test to see if it was even a coding problem. I deleted and recreated the index.html and article.html files, and the article.html file still only links to index.html page when I try to preview it. So I don't think it's a code thing, I think it's a technical issue with the site or with my device.

Heidi Fryzell
seal-mask
MOD
.a{fill-rule:evenodd;}techdegree seal-36
Heidi Fryzell
Front End Web Development Treehouse Moderator 25,178 Points

Hi Chloe,

Yes, that sounds like a technical issue, not a code issue. I would recommend reaching out to TreeHouse Support. There is a a link in the top navigation. Sorry you are having trouble. So frustrating.

Heidi

Thanks!