How to complete 2.12?


#1

how to solve unit 2 problem 12?


#2

Hi NoobyProgrammer,

Please post your code, a link to the exercise you're on, and the error message you're getting.
Thanks!


#3

$(document).ready(function() {

$('.panel').slideDown(function() {
    $(this).fadeOut('slow');
});

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

});

this is what i have so far. and the error is Oops, try again. Did you pass '.panel' to $() to make it a jQuery object?


#4

@1c3mn I still need a link to the exercise. I can't run your code if I can't get to the exercise.


#5

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


#6

@1c3mn You need to remove this bit:


#7

thank you so much. it seems to have taken code from last exercise and keep it.