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

Null error

Does anyone know why I am getting a null error?

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

4 Answers

Where are you getting a NULL error at? In a browser?

I get it when trying to complete the "Organize With Unordered lists" objective. Its basically telling me to insert images for each list item, and when I try to move onto the next step it says "Bummer! null".

Did it ask you to put the alt tags in and is the path to the images correct?

the task states "Inside the three new list items, add the following images from inside the img folder: "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!"

when I type in the code above, it either gives me a null error or it says that the first task is no longer passing. The first task stated "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."