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

Girri M Palaniyapan
Girri M Palaniyapan
7,829 Points

Null is not an object error

Hi, for the following code, I get the error that Null is not an object error(evaluating listQuery.selector ). Could it this because I don't I have the files ? Thank you for your help ! :)

<section> <nav> <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>
  </nav>
</section>

2 Answers

Hi, may I know where did you've got that error message ? As far as I know, that's an error message of a javascript. You sure have a javascript inside ? if you really put a javascript inside, place it below the elements in HTML or just place it below all of your HTML codes.

Girri M Palaniyapan
Girri M Palaniyapan
7,829 Points

Hi Rikky thanks for the help. I received this for a HTML lesson. No javascript was involved.