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 Introduction to jQuery Hello, jQuery! The jQuery Object

Matthew Hauth
Matthew Hauth
689 Points

Error in Workspace Code

App.js is shown as

$('li').on('click', function() { $(this.text("Clicked!"); });

when it should be

$('li').on('click', function() { $(this).text("Clicked!"); });

Thank you, Matthew. This is the second issue in the first three videos.

Thank you Matthew Hauth I could not for the life of me figure out why it was not working. And Lee Zamastil is right....Already a handful of mistakes this early on... Doesn't seem like this is going to be too fun.

1 Answer

Blake Baxendell
Blake Baxendell
16,344 Points

I also noticed that my jQuery inserted into index.html didn't carry over from last workspace either.