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 trialIzzy Kisslinger
2,356 PointsNo contact page - HELP
I am on the Contact page section and I am having the weirdest issue, nothing is showing up when I hit the Preview button. The twitter/fb logo show up at the footer, the header is fine too, but no content is showing up no matter what. I don't think that there's anything wrong with my code, since I did copy/paste from the About page (which works fine). Also, I've been staying on the same browser, so I don't really know what's going on. I've attached my code here, maybe I missed something. (FYI, I just put the h3 heading here, but if that doesn't show, nothing will - I had the full code and the same thing happened).
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>About | Sircher | Web Developer</title> <link rel="stylesheet" href="css/normalize.css"> <link href='https://fonts.googleapis.com/css?family=Dosis:400,600|Titillium+Web:400,400italic,600|Josefin+Sans:400,400italic,600' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="css/main.css"> </head> <body> <header> <a href="about.html" id="logo"> <h1>Tzahalla Sircher</h1> <h2>Web Developer</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> <footer> <a href="http://twitter.com/tzahalla"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="https://www.facebook.com/profile.php?id=100008146782656"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>© 2015 Tzahalla Sircher.</p> </footer> </div> </body> </html>
3 Answers
Izzy Kisslinger
2,356 PointsYes, I do, but for some reason it's not showing here. I'll attach them. Also, I've looked into the Developer Tools on Chrome on the Contact page, but it's not presenting the entire code, just the skeleton.
<footer> <a href="http://twitter.com/tzahalla"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a> <a href="https://www.facebook.com/profile.php?id=100008146782656"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a> <p>© 2015 Tzahalla Sircher.</p> </footer> </div> </body> </html>
Izzy Kisslinger
2,356 PointsYeah, it's not showing the html and body tags
Nicole Rudy
913 PointsI had the exact same issue, I ended up changing it from contact.html to coo.html and changed it on all of the respective files and locations. This seemed to fix the issue. For whatever reason my code would not work with the work contact being the file name but literally everything else worked.
Steven Lin
Courses Plus Student 2,269 PointsHi Tzahalla, there are no complete open and close tags of html, head and body in your code.
Izzy Kisslinger
2,356 PointsI already addressed this, I do have them, they just don't appear when copy+pasting the entire code to comment box. I have no idea why.
lucybeck
6,055 Pointslucybeck
6,055 PointsHi, Do you have <HTML> </HTML> tags?