Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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>