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
Blake Johnson
Courses Plus Student 765 PointsGetting a 404 error when launching contact page
Code Below:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Blake Johnson | Designer</title>
<link rel="stylesheet" href="css/normalize.css">
<link href="https://fonts.googleapis.com/css?family=Changa+One|Open+Sans:400,400i,700,700i" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Blake Johnson</h1>
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html" class="selected">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
</section>
<footer>
<a href="http://twitter.com/bljohnson25"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
<a href="http://www.facebook.com/"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a>
<p>© 2016 Blake Johnson.</p>
</footer>
</div>
</body>
</html>
Not sure what went wrong here. Can you help?
Moderator Edit: Added Markdown for code readability. Please refer to the Markdown Cheatsheet for instruction on how to properly post code in the Community.
1 Answer
Louise Karlund
4,393 PointsHave you created the contact.html? Is this your contact.html?
Tony Mikel
10,661 PointsTony Mikel
10,661 PointsAre you using a server to serve your contact.html or are you trying to open the HTML file locally on your computer?