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

My About page is not working

<!Doctype html> <html> <head> <meta charset="utf-8"> <title>SOUKAINA RIVERA | DESIGNER</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css? family=Changa+One|Open+Sans:400italic,700italic,400,700,800' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/souka.css"> </head> <body> <header> <a href="index.html" id="logo"> <h1>Soukaina Rivera</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href="about.html" class="selected">About</a></li>
<li><a href="Contact.html">Contact</a></li>
</ul> </nav>
</header> <div id="wrapper"> <section> <img src="img/nick.jpg" alt="Photograph of Nick Pettit" class="profile-photo"> <h3>About</h3> <p>Hi,I'm Soukaina Rivera! This is my design portfolio where i share all of my favorite work. when I'm not designing things,i enjoy exercising playing video games drinkikng good coffee and more </p> <p> If you'd like to follow me on twitter, my username is <a href="http://twitter.com/soukar">@soukar</a>.</p> </section> <footer> <a href="http://twitter.com/soukar"><img src="img/twitter-wrap.png" alt="twitter Logo"class=social-icon></a> <a href="http://facebook.com/soukaquietness"><img src="img/facebook-wrap.png"alt="facebook Logo"class=social-icon></a> <p>© 2016 SOUKAINA RIVERA.</p> </footer> </div> </body> </html>

Nicolas Hampton please can you help solving this problem. thank you !

What is the error are you getting? Is there an error or is it not displaying the way you want it to? I'm not sure what you're asking yet.

5 Answers

You stated that the error you received was that there was no About.html file, and in the html file you have linked to about.html (Assuming they are both in the root directory.) As far as I know (could be wrong here) a URL is case-sensitive past the domain name, so perhaps you have capitalized the file name, and it is indicated as lower case in the href attribute?

have you included a DOCTYPE at the beginning? It is not in your code above (or html tags)

yes i did when i copy it it doesn't show :)

<!Doctype html> <html> <head> <meta charset="utf-8"> <title>SOUKAINA RIVERA | DESIGNER</title> <link rel="stylesheet" href="css/normalize.css">

when i finish working and i try to preview the workspace i click on ABOUT this is the message that i get :

Not Found

The requested URL /About.html was not found on this server.

Is there a file called "about.html" in the same folder as index.html?

you need to have a file called about.html in the same folder as the index

I think you need to give more information and full code, i can help you if you give me that

Nicolas Hampton yes i do have about.html in the same folder as index.html