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

I have followed the steps for navigation and links, but my page is not showing the 3 navigation items??

I did SAVE the index.html file, and I tried refreshing the page, but clicking the preview button still doesn't give the 3 unordered items. I also don't have my name and the word Designer showing up as a hyperlink. I compared my code to the code in the video, and it looks EXACTLY the same except for my personal name. Stumped!

I also ran the code thru the validator, just to be sure I didn't miss a closing bracket or something, but it only gave me a "warning" that the SECTION should have a h1-h6 element.

2 Answers

3,333 Points


I copied and pasted your code into my workspace and it worked fine. Maybe its just something weird going on with your workspace. Try this:

  • Highlight your code and copy it
  • Delete the index.html file
  • Create a new file named index.html
  • Paste your code into the new index.html file and save it.

Then, preview it to see if it shows correctly.

rakan omar
rakan omar
15,066 Points

provide us with the code so we can help, when starting out in programming, its easy to think the code looks exactly the same when you could've missed just one symbol, etc. so provide us with the code

<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Cheryl Zuckerman | Designer</title> </head> <body> <header> <a href="index.html"> <h1>Cheryl Zuckerman</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">Contact</a></li> </ul> </nav> </header> <section> <p>Gallery will go here.</p> </section> <footer> <p> © 2016 Cheryl Zuckerman. </p> </footer> </body> </html>