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

CSS How to Make a Website Adding Pages to a Website Add a New Page

404 when I click on ABOUT??

404 Not Found nginx/1.6.2 When I open my About page this erorr comes.. please help

5 Answers

Kenneth Hall
Kenneth Hall
3,452 Points

Hi Ayesha!

Are you doing this in workspaces on this website or are you trying this on a local machine? Could you provide screen shots or code examples of to better help understand the issue.

Im doing this on this website workspace

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Ayesha Ghayas | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400italic,700,700italic,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Ayesha Ghayas</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="Index.html" class="selected">Portfolio</a></li> <li><a href="About.html">About</a></li> <li><a href="Contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <ul id="gallery"> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li> <li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> <p>Playing with blending modes in photoshop.</p> </a> </li> <li> <a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""> <p>Trying to create an 80's style of glow.</p> </a> </li> <li> <a href="img/numbers-09.jpg"> <img src="img/numbers-09.jpg" alt=""> <p>Drips created using Photoshop brushes.</p> </a> </li> <li> <a href="img/numbers-12.jpg"> <img src="img/numbers-12.jpg" alt=""> <p>Creating shapes using repetition.</p> </li> </ul> </section> <footer> <a href="http://twitter.com/ayeshaghayas1"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="http://facebook.com/ayesha.ghayas"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>© 2014 Ayesha Ghayas.</p> </footer> </div> </body> </html>

Hey please help me .. Why is my about.html file coming above html file, I think thats the problem

Kenneth Hall
Kenneth Hall
3,452 Points

Ayesha,

I can't confirm this yet, but your code looks correct. I had an issue where my index.html page wouldn't load correctly from other links in workspace. i moved everything to a text editor on my local machine and everything worked fine. I use sublime text 2 on my local machine. I'll look at this more indepth on my lunch and let you know something. Good luck and have fun coding!

Kenneth Hall
Kenneth Hall
3,452 Points

Ayesha,

I ran the code on my local machine. It looks like your code is running correctly. I had the same issue, I just switched over to running code locally instead of using workspaces. Only thing this should affect is when you try to navigate back to index.html from your contact.html . One of the site mods or another user might know a fix or I may have done something wrong and just had dumb luck, but I think you have everything correct so great job!!!