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

Creating HTML Content 2 of 3

I think I'm hitting a bug. The system keeps saying to go back to task one because its now failing. but when I go back to task one it passes. Code below

```<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Nick Pettit</title> </head> <body> <header> <a href="index.html"> <h1>Nick Pettit</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> <nav> <ul> <li><img src="img/numbers-01.jpg"</li> <li><img src="img/numbers-02.jpg"</li> <li><img src="img/numbers-06.jpg"</li> </ul> </nav> </section> <footer> <p>ยฉ 2013 Nick Pettit.</p> </footer> </body> </html>

2 Answers

It's a little hard to read your code in my phone but the bottom is how it should look. You may have spelled something wrong or added a closing tag in the wrong place compare the two and see what might be wrong. If not let me know and I'll take another look at it

1
<!DOCTYPE html>
2
<html>
3
  <head>
4
    <meta charset="utf-8">
5
    <title>Nick Pettit</title>
6
  </head>
7
  <body>
8
    <header>
9
      <a href="index.html">
10
        <h1>Nick Pettit</h1>
11
        <h2>Designer</h2>
12
      </a>
13
      <nav>
14
        <ul>
15
          <li><a href="index.html">Portfolio</a></li>
16
          <li><a href="about.html">About</a></li>
17
          <li><a href="contact.html">Contact</a></li>
18
        </ul>
19
      </nav>
20
    </header>
21
    <section>
22
      <ul>
23
        <li>
24
          <img src="img/numbers-01.jpg" alt="">
25
        </li>
26
        <li>
27
          <img src="img/numbers-02.jpg" alt="">
28
        </li>
29
        <li>
30
          <img src="img/numbers-06.jpg" alt="">
31
        </li>
32
      </ul>
33
    </section>
34
    <footer>
35
      <p>&copy; 2013 Nick Pettit.</p>
36
    </footer>
37
  </body>
38
</html>
39

It was exactly that the closing tags were missing