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 trialAyman Saad
134 Pointsweb error
in my web when i click the about and contact it say not found and i copy what you did?
4 Answers
Emma Willmann
Treehouse Project ReviewerCan you post a copy of your html? We can look at it and let you know what might be wrong. There is a Markdown Cheatsheet under the comment/answer box that shows how to post code.
Marcus Parsons
15,719 PointsHi Ayman,
You may have a blank href, a non-existing file reference in your href attribute, or an invalid web address typed into the href attribute for your <a> link. Check to make sure that the href attribute points to an existing file on your PC (and is spelled correctly), points to a valid web address ex. "http://www.teamtreehouse.com", or contains a # sign so that you will not get an error when you click on it. An empty # sign can be used a placeholder so that your page won't try to load another page when you click on the link, and you can test how any CSS applied to the link looks when you interact with it.
If that answer helped you out, I wouldn't mind getting the Best Answer selected. :) Thanks!
Marcus Parsons
15,719 PointsI can't possibly understand why that answer deserves a down vote...
Ayman Saad
134 Pointsthat was unintentional!
Emma Willmann
Treehouse Project ReviewerCheck the links after your href. The links should be surround in quotes, but instead have a accented a around them. Should look like this:
<header>
<a href="index.html" id="logo">
<h1>Ahmad saad </h1>
<h2>Ahmad saad | 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>
Ayman Saad
134 Pointsits still not working.
Emma Willmann
Treehouse Project ReviewerHave you created your about.html and contact.html pages? And, if yes, are they in the same folder that your index.html file is in?
Ayman Saad
134 PointsAyman Saad
134 Points<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Ahmad saad | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='http://fonts.googleapis.com/css?family=Oswald:400,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/Untitled.css"> </head> <body> <header> <a href=“index.html" id="logo"> <h1>Ahmad saad </h1> <h2>Ahmad saad | Designer</h2>
</div> </body> </html>