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

JavaScript JavaScript and the DOM (Retiring) Making Changes to the DOM Appending Nodes

Ned Redmond
Ned Redmond
5,615 Points

Uncaught TypeError: Cannot read property 'addEventListener' of null

https://w.trhou.se/ha07wxhc08

I can't find the error. Please send help.

1 Answer

Phillip Kerman
PLUS
Phillip Kerman
Courses Plus Student 285 Points
const addItemButton = document.querySelector('button.addItemButton');

you had "input."

I had the same problem. Keeping up with Guil sometimes gets the better of me, too, Ned!