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

making a website add a new page

hello i am getting a 404 error when clicking on about in navigation has anyone got a suggestion on how i can fix this if it is my code or a technical issues many thanks in advance

thanks for you quick answer found my problem needed a capital A for my html.

2 Answers

If you don't yet have a page you can set your links to href="#" to prevent the click through a 404 error.

Otherwise, you'll just need to add a page to your directory like "about.html"

To add a new page in a workspace project, just right click and choose new file. Then just make sure the link in your navigation matches your new page.

I hope that helps!

i have made the about.html and followed and gone back though and still get this same problem.

You have to make sure it's pointed to correct directory.

Take the basic console course in treehouse learn how to navigate unix.

console foundation

if it's in the same folder make sure about.html isn't in any other folder. Make sure there isn't white spacing or special characters. There are characters reserved for URLs.

! # $ % & ( ) * + , / : ; = ? @ [ ]

These characters need to be encoded so it doesn’t interfere with the function of the URL.