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 How to Make a Website Adding Pages to a Website Add a New Page

Chaz Mabry
Chaz Mabry
7,839 Points

About page will not open in preview

I am on the add a new page lesson and I have made a new file titled about.html and pasted the code from the index inside of it. When I preview the website I still get a 404 error when I click the about link. any suggestions?

1 Answer

Philip Cox
Philip Cox
14,818 Points

Hi. As long as each document ends with .html, they should open in a browser. Document location comes into play when you are using anchors. Hope this helps.

Chaz Mabry
Chaz Mabry
7,839 Points

Thanks for the response! The document did end with .html but I had the word about capitalized in the html so i needed to capitalize the document name and that fixed it.