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!
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
bahman sadeghi4,810 Points
which part have a problem?
which part have a problem? link of problem is here http://teamtreehouse.com/library/build-an-interactive-website/introduction-to-jquery/including-jquery-in-our-project
Michael Wiss19,233 Points
I think you'll need to point to jQuery in the src attribute first:
I'm assuming you're on this last question of this challenge based on your code. Everything looks good up until the anonymous function portion of your code.
You're missing a variable in your function that refers back to that refers back to the message ID. Double check the part of the video where he mentions calling a function inside of jQuery.
Vivek Marakana16,412 Points
Hi, there's slight mistake in second line (the line containing "remove()") of your code. You need to pass $(this) to refer to the element that you clicked. So your correct code will look like: