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
marc ohlsson
Courses Plus Student 8,045 PointsTask three of three in the intro code challenge
$(".error").show(); $("a").before("<span>This is a link: </span>"); This is the problem code. '?" Add a click listner with no code to every link . $("a").click("function({})");
marc ohlsson
Courses Plus Student 8,045 Pointsdid you figure it out yet?I am stuck.
3 Answers
marc ohlsson
Courses Plus Student 8,045 PointsThe response I get is that I am not passing $("a") into the function. When I put that in the braces it came back and reads 'null'?
marc ohlsson
Courses Plus Student 8,045 PointsThe response I get is that I am not passing $("a") into the function. When I put that in the braces it came back and reads 'null'?
Erik Nemesis
13,356 PointsI don't understand a thing at what you're saying. Anyway you put your "function" between quotes so it evaluates to a string where it expects a function.
Rick Oller
9,072 PointsRick Oller
9,072 PointsI'm also stuck on this question