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

Inside the <section> element, create an unordered list with three blank list items. This will become an image gallery ?

I got stuck on this part with the section - I got confused on the <section> </section> part as to add an unordered list with three blank list items for an image ?

index.html
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>Rigo Gomez | Coding </title>
</head>
    <body>

    <header>
    <a href="index.html">
        <h1> Rigo Gomez </h1>
        <h2>Coder</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/numbers-01.jpg">
    <img src="img/numbers-01.jpg"   alt="">
    <p>Expermination with color and texture.</p>
    </a>
    </li>

    <li>
    <a href="img/numbers-02.jpg">
    <img src="img/numbers-02.jpg"   alt="">
    <p>Trying to create an 80's sytle of glows.</p>
    </a>
    </li>

    <li>
    <a href="img/numbers-06.jpg">
    <img src="img/numbers-06.jpg"   alt="">
    <p>Drips created using Photoshop brushes.</p>
    </a>
    </li>

    <li>
    <a href="img/numbers-09.jpg">
    <img src="img/numbers-09.jpg"   alt="">
    <p>Creating Shapes using repetition.</p>
    </a>
    </li>

    <li>
    <a href="img/numbers-12.jpg">
    <img src="img/numbers-12.jpg"   alt="">
    <p>Expermination with color and texture.</p>
    </a>
    </li>



    </ul>

    </section>
    <footer>
    <p>&copy; 2016 Rigo Gomez. </p>
    </footer>
    </body>
</html>

2 Answers

Tanja Schmidt
Tanja Schmidt
11,798 Points

Do you mean the first part of the challenge? If so: You are expected to only add the tags for an <ul> with the tags for three empty <li>-items inside.

    <ul>
        <li></li>
        <li></li>
        <li></li>
      </ul>

The second part asks you to add three specific images - if you have trouble with that, please write back.

Thank you - sorry for the late reply - Yes I am still stuck on the : Inside the three new list items, add the following images: "numbers-01.jpg", "numbers-02.jpg", and "numbers-06.jpg". Leave the alt attributes blank, and don’t add any captions or links. Just the images!

Tanja Schmidt
Tanja Schmidt
11,798 Points

No Problem. If you've entered the code above in the challenge you simply did way too much. :-) The task is to only add the three image elements with the specific images and the empty alt attributes inside - with no additional links or paragraphs or additional images.

I entered this code and it worked:

      <ul>
        <li><img src="numbers-01.jpg" alt=""></li>
        <li><img src="numbers-02.jpg" alt=""></li>
        <li><img src="numbers-06.jpg" alt=""></li>
      </ul>

The challenges here at treehouse are very specific: Even if your code is correct in general, the system does usually not recognize it, if it does not fit exactly what is asked for in the task. Hope, this helps! :-)

Cool thanks for the feedback - I am new beginner