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

HTML How to Make a Website Creating HTML Content Use the Navigation Element

Christopher Borchardt
Christopher Borchardt
2,908 Points

My page is displaying blank

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Chris Borchardt | Designer</title> </head> <body> <header> <a href = "index.html> <h1>Chris Borchardt</h1> <h2>Designer</h2> </a> <nav> <ul> <li>Portfolio</li> <li>About</li> <li>Contact</li> </ul> </nav> </header> <section> <p>Gallery will go here</p> </section> <footer> <p>© 2016 Chris Borchardt.</p> </footer>
</body>
</html>

For some reason when I pull up a preview of the page i get the title but everything else comes up blank. can somebody tell me what i have wrong in my code?

Felix Yakubov
Felix Yakubov
17,475 Points

missed a quote there in the href you see?

3 Answers

Bryce Santos
Bryce Santos
11,157 Points

Were you able to make your page work and was that your full code? I don't see the !DOCTYPE, html, and head tags, so I was wondering if that was what broke it.

Christopher Borchardt
Christopher Borchardt
2,908 Points

yes, i was able to get it to work with the missing ", I am not sure why it cut out the rest of my code, in my workspace i clearly see the !DOCTYPE, html, and head tags. and i had the entire thing highlighted before i copied it.

Bryce Santos
Bryce Santos
11,157 Points

For sure, good to hear!