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 Organize with Unordered Lists

Is it correct?

I have followed all the steps and it is saying, in the challenge, it is wrong. This is what i did :

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Mitchell Armstrong</title>
  </head>
  <body>
    <header>
      <a href="index.html">
        <h1>Mitchell Armstrong</h1>
        <h2>Photographer</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>
          <a href="img/Exam Edit 1.jpg">
          <img src="img/Exam Edit 1.jpg" alt="">
          <p>Experimenting with photoshop.</p>
          </a>
        </li>
        <li>
          <a href="img/Exam Edit 4.jpg">
          <img src="img/Exam Edit 4.jpg" alt="">
          <p>Experimenting with color.</p>
          </a>
        </li>
        <li>
          <a href="img/Exam Edit 6.jpg">
          <img src="img/Exam Edit 6.jpg" alt="">
          <p>The petronas twin towers.</p>
          </a>
        </li>
        <li>
          <a href="img/Exam Edit 11.jpg">
          <img src="img/Exam Edit 11.jpg" alt="">
          <p>Dramatic angle.</p>
          </a>
        </li>
        <li>
          <a href="img/Exam Edit 12.jpg">
            <img src="img/Exam Edit 12.jpg" alt="">
            <p>Using different tone.</p>
          </a>
        </li>
      </ul>
    </section>
    <footer>
      <p>&copy; 2014 Mitchell Armstrong.</p>
    </footer>
  </body>
</html>
Stone Preston
Stone Preston
42,016 Points

see the below animation for an explanation of posting code to the forum. you have to format html code for it to display

code

4 Answers

Justin Green
Justin Green
16,430 Points

Hi Mitchell,

If you're trying to put some of your text into an unordered list, this should do the trick:

<ul>
    <li>List Item One</li>
    <li>List Item Two</li>
    <li>List Item Three</li>
</ul>

Thanks, Justin

Thank you so much this worked thanks!!

Thomas Ireland
PLUS
Thomas Ireland
Courses Plus Student 8,216 Points

Which question did you get incorrect, Mitchell? Cheers. Tom.

"Challenge task 1 of 2 Inside the <section> element, create an unordered list with three blank list items. This will become an image gallery, but don’t fill in the list items just yet."

This was the challenge.

Thanks for all the help!!!

andrewjc
andrewjc
22,185 Points

Mitchell,

What challenge is this exactly? Just so I can see exactly what it is asking of you...

It looks like you might be missing a few tags.

~AC

"Challenge task 1 of 2 Inside the <section> element, create an unordered list with three blank list items. This will become an image gallery, but don’t fill in the list items just yet."

This was the challenge.

Thanks for all the help!!!

answer # 4 is correct.