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 trialRutwik Patel
Courses Plus Student 963 PointsContact Page won't load
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> Rutwik Patel Programmer</title>
<link rel="stylesheet" href="css/normalize.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300,300italic|Yanone+Kaffeesatz:400,700,300' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Rutwik Patel</h1>
<h2>Programmer</h2>
</a>
<nav>
<ul>
<li> <a href="index.html"> Portfolio </a></li>
<li> <a href="about.html"> about </a></li>
<li> <a href ="contact.hmtl" class= "selected"> Contact </a></li>
</ul>
</nav>
</header>
<div id="rapper">
<section>
<img src = "img/nick.jpg" alt="Photograph Of Nick Pettit" class="profile-photo">
<h3> About </h3>
<p> Hello! I'm Rutwik Patel and this is just my prototype webpage! </p>
<p> If you'd like to follow me on instagram my username is <a href="http://twitter.com"> </a> @rutvikx </p>
</section>
<footer>
<a href="http://twitter.com"> <img src= "img/twitter-wrap.png" alt="Twitter logo" class= " social-icon"> </a>
<a href="http://facebook.com/deadxskillz"> <img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"> </a>
<p>© 2014 Rutwik Patel.</p>
</footer>
</div>
</body>
</html>
Wayne Priestley
19,579 PointsHi Rutwik,
I've edited your code so it appears correct in your post.
Here is a link to explain how to use Markdown to post your code How to post code If you look at the bottom of the box when your typing a reply you will see Markdown Cheatsheet that will also explain how to post your code
Hope this helps.
3 Answers
Wayne Priestley
19,579 PointsHi Rutwik,
Your missing a >
after contact.html and you also have a space between class=
and "selected"
.
You also have a space between href
and ="contact.html"
.
You also have a space between src
=
and "img/nick.jpg"
.
There are a couple of extra spaces in your footer links too, best you look through your code and correct these.
if you fix these you should be ok.
Hope this helps.
Rutwik Patel
Courses Plus Student 963 Pointsbut i have the > after my class="selected", isn't that how it should be? and i fixed the spaces. Don't know why it does't work. I basically just copied and pasted my about page code and my about page works, but contact doesn't.
Wayne Priestley
19,579 PointsHi Rutwik,
Sorry about that, I was reading on my iPhone and didn't see the code to the right.
Wayne Priestley
19,579 PointsHi Rutwik,
Do you see the gap between <a href
and =
and "contact.html"
remove the two spaces for the link to work.
Rutwik Patel
Courses Plus Student 963 Pointsfixed it but still nothing, this is so frustrating ugh
Mikael Enarsson
7,056 PointsIn the header section, in the link to the contact page, you wrote 'contact.hmtl' instead of 'contact.html'.
Rutwik Patel
Courses Plus Student 963 PointsRutwik Patel
Courses Plus Student 963 Points