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
Danielle M
2,818 PointsContact page will not open in preview.
I cannot open my contact page in the site preview. I can edit it in workspaces, but for some reason when I click the contact link in the header nothing happens. It's worked before, and when I checked my code everything appeared to be in order. It's possible I missed something, though.
Here's the code I have thus far:
<!DOCTYPE html>
<html>
<head>
<meta charset= "utf-8">
<title>Danielle M | Artist</title>
<link rel="stylesheet" href="css/normalize.css">
<link href="https://fonts.googleapis.com/css?family=Katibeh" rel="stylesheet">
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<header>
<a href="index.html" id="logo">
<h1>Danielle M</h1>
<h2>Artist/Entry Level 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.html" class="selected">Contact</a></li>
</ul>
</nav>
</header>
<div id="wrapper">
<section>
<h3>General Information</h3>
</section>
<section>
<h3>Contact Details</h3>
<ul class="contact-info">
<li class="email"><a href="mailto:dmaz@gmail.com"></a></li>
<li></li>
</ul>
</section>
<footer>
<a href="https://www.tumblr.com/blog/themazdraws"><img src="img/tumblr.png" alt="Follow Me on Tumblr!"></a>
<p>© 2016 Danielle M</p>
</footer>
</div>
</body>
</html>
rydavim
18,815 PointsCould you please post a workspace snapshot so that we can work with the same environment and files that you're using?
I've also edited your original post to add some formatting and fancy syntax highlighting to your code. You can do this yourself by using the code flags, followed by the language.
```language
YOUR CODE HERE
```
Danielle M
2,818 PointsOh wait, I just figured out what I did wrong. Thank you very much for your help! :)
Miroslav Kovac
11,454 PointsMiroslav Kovac
11,454 PointsHi Danielle, what exactly mean "nothing happens" when you click on contact page. Do you get some error? I copied your html in my environment and it seems correct. Of course I got an error, but it is because I do not have contact.html page...