12. Toggling Our Panel


#1


On Exercise 12; Toggling our panel


I have looked at all examples of this code and I can find no error, yet an error message appears saying 'Did you call .slideToggle() on .panel?'.

I don't know whether it is a small spelling error that I can't seem to find. Please help!


$(document).ready(function() {
    $('pull-me').click(function() {
        $('.panel').slideToggle('slow');
    });
});


#2

Does the above look like a class selector or a type selector?


#4