Cannot proceed even though code is working


#1


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


"
Oops, try again. Please follow the instructions on the Full Preview page to test your code."


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


#2

Yes your code is working.

Clear the cache of the Browser and refresh the side.


#3

instead of $('.vanish').fadeOut('slow');
it's done this way
$('div').vanish(function('slow',) {
});
$().fadeOut(function() {
});


#4

@jameskimaru No, that's completely incorrect.

@glenn11's code is fine, like @codmakr said.


#5

@zystvan Its okay, anyway mine worked that format.


#6

@jameskimaru That's because your code has errors in it which cause the SCT (Submission Correctness Test; code checker) to not realize the code is incorrect, by being so bad it has (unintentionally) tricked the SCT into thinking it's correct code.


#7

oh @zystvan now i get you. thanks!


#8

A post was split to a new topic: My code works, but the slider pulls down before I can click it