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 trialGirri M Palaniyapan
7,829 PointsNull 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
Rikky Yoelanda Putra
2,317 PointsHi, 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
7,829 PointsHi Rikky thanks for the help. I received this for a HTML lesson. No javascript was involved.