12.Toggling our Panel


#1



Showing correct but i doubt that this is correct, While i click in the Panel nothing happens

12.Toggling our Panel


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


#2

@bledabdiu,
Your =click= Eventhandler expects a function() which should be executed.....
Try using

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

#3

Didn't work for me.

I've had this issue throughout this course - it accepts the code as correct but the effect isn't happening in the window. Not one has actually displayed for me. Code right, display not. None of it works in Firebox; some worked in Chrome but stopped about 4 exercises ago.


#4

@nolawildwood
If you used the code as in your Post
then that would not function....
read
https://discuss.codecademy.com/t/12-toggling-our-panel/43887/2?u=leonhard.wettengmx.n


#5

@leonhard.wettengmx.n

Thank you. I is working somehow but still looks strange


#6

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