11. code is correct but the slider doesn't slide


#1


I followed the instructions, but can't seem to get the slider to work properly - slide down.


https://www.codecademy.com/courses/web-beginner-en-GfjC6/2/3?curriculum_id=50a3fad8c7a770b5fd0007a1


Code is correct but the slider doesn't slide down.


Replace this line with your code. 
$(document).ready(){
    $(".pull-me").click(){
        $(".panel").slideToggle("slow");
    }
}


#2

Remember to use semicolons after ending braces.


#3

$(document).ready(function(){
//here some code
});

you code should like this

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


#4

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