Click and Pull - let me pass for some reason


#1

Lets me pass, But says I'm wrong. Why?

My code:

$(document).ready(function() {
   $("div").click(function() {
       $("panal").pull-me("slow");

     
  });

Error message: SyntaxError: missing } after function body


#2

This function is not closed you are missing });
Sometimes Codecademy SCT doesn't pickup everything or its looking for something in specific and it bypasses the error. (you can fool it, but don't fool yourself :slight_smile: )


#3

The .pull-me property does not exist. Instructions tell clearly what to do.

$(document).ready(function(){

});

On click for the pull-me class...

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

And then toggle it, slowly.

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

#4

Hence why I posted :wink:

I get fired if I don't learn this haha