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 jQuery Basics Working with jQuery Collections The .each() method

Justin Townsend
Justin Townsend
4,720 Points

I saw this and I have no idea what I am doing

I am looking at this, I dont know what to do

2 Answers

Adam Beer
Adam Beer
11,314 Points

Oh, I see you solved this with your comment! Nice! Happy coding!

Adam Beer
Adam Beer
11,314 Points

Use "this" keyword. So your first step use "this", for example: $(this). And your second step is prepend(), so you can add the prepend() to your $(this) keyword. And finally, put the '<input type="checkbox"/>' inside your prepend(). Hope this help!