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 Getting and Setting Text with textContent and innerHTML

Change list description's button doesn't work, my code is exactly the same as in the video

i spend so much time on this, first i thought it was sublime text then i try in the treehouse text editor, it still doesn't work, please help

here is the snapshot: https://w.trhou.se/sa59cfqz32

2 Answers

Thomas Dimnet
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Thomas Dimnet
Python Development Techdegree Graduate 43,629 Points

Hi Dalin,

I saw what's wrong in your code. Inside the app.js file, when you add an event listener you wrote 'Click' instead of 'click'.

That being said if you write the code below, it will work

button.addEventListener('click', ()

it worked, thank you so much