6. Selecting By Class


#1


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

i keep getting an error and i wonder what i'm doing wrong

$(document).ready(function() {
    $('button').click(function() {
      
        $('.vanish').fadeOut('slow');
        
    });
});


#2

What error? I just tried it and it works.

When you hit Save & Submit, does it go full screen and when you click Click me, does it work? After that it should let you pass the exercise when you leave full screen.


#3

I have the same probleme, everything works fine when i click on click me but i can't pass the exercice. And i have this error : " $e(...).a.cacher is not a function ".


#4

As ghost said, your code is working fine. So there's nothing wrong with it on that end. However, sometimes Codecademy does experience a bug. Try copy and pasting your code then refreshing your browser. Restarting your broswer etc. can also fix this issue if a simple refresh does not.


#5

Hi,

I have the same problem with this exercise.

Bests regards.


#6

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