Where do i miss the syntax?


#1

As i follow the hint pull me is the class so it has to start with '.pull-me' and panel is class as well so has to start with '.panel' in script js. i didn't able to find error

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

 });

});


#2

Here's the formatted code:

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

I don't see any problems.