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
Alli Shea
4,178 PointsWhat's wrong with my spoiler reveal?
I checked it against the final project files but can't seem to find the error. I'm on Part 3 of the Spoiler Reveal challenge (under jQuery).
The button isn't showing up, just the reveal.
2 Answers
Christian Andersson
8,712 PointsYou have a closing parenthesis ) at line 11 which is never opened.
Also, I believe that line 10 should be written like this: $(this).remove();
Kennard McGill
Full Stack JavaScript Techdegree Graduate 45,774 PointsI think Christian is referring to this line where the click method is also closing the anonymous function
$("button").click(function)() {
to
$("button").click(function() {
Alli Shea
4,178 PointsAlli Shea
4,178 Points