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 Add Image Gallery Content

Stuck at stage 3 ''creating HTML content''

When i watch the preview of my workspace on the top it says:href=''index.html''> I want this gone, what can I do about this? It also doesn't show any image while I do exactly what the video is telling me to do. If anybody can help me I will be very thankful. Also is there any way I can post my code through a non paid service?

You can post short amounts of code directly here in the forums using this thread as a guide: https://teamtreehouse.com/forum/posting-code-to-the-forum

For longer amounts of code you can use something like www.codepen.io

3 Answers

Philip Cox
Philip Cox
14,818 Points

Hi. You may want to check your code against this.

<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
</head>
<body>
..content goes here.
</body>
</html>

Can you post your code so i can see were your going wrong? however your page should follow the order phil has posted

This is my code

<!DOCTYPE html>
<html>
<head>

<meta charset="utf-8">
    <title>My name</title>
    </head>
    <body>
      <header>
      <a href="index.html">
      <h1>My name</h1>
      <h2>Web 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>
      <ul>
      <li> <img src="img/numbers-02.jpg"   alt="">
        </li>
      </ul>
    </section>
    <footer>
  <p>&copy; 2014 My name</p>
    </footer>
 </body>
</html>

Thanks for your help!

Philip Cox
Philip Cox
14,818 Points

Having an anchor tag wrap around your h1 and h2 I don't think is something you want. Try,

<a href="index.html">index</a>
<h1>My name</h1>
<h2>Web Designer</h2>

Hi Philip,

That is what is in the project. The h1 and the h2 are meant to be the logo and the whole thing should link back to the home page.

Philip Cox
Philip Cox
14,818 Points

I have compared it with my code from that project and I cannot see why it would say this at the top. You seem to have all of your elements closed. Maybe its a bug in the preview. Try copy/paste your code into a new workspace?