13. Well done?


Bit confused by this lesson - I've apparantly 'passed', but my code doesn't actually toggle anything (see below), have I got this wrong?



I think the syntax isn't correct, if you want the


class itself to slideUp and slideDown on clicking then below is an example

    $('.pull-me').click(function() {

this keyword represents the current object you are iterating upon, which is the 'pull-me' class in this case...

hope it's clear to you...


Thanks very much for the tip abhi, yeah that was a great help thanks! :slight_smile:


welcome...always here to help :slight_smile:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.