6. Selecting by class


Hi Guys!
I thinks there's some kind of bug in this exercice.
I solved the problem and moved on, but the code it's not working at all, because when i click the button nothing happens, and i don't know why.
Am i doing something wrong? Or it's bug?

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


Ok i figured out.
I was closing to many functions.

The last one:

  $('.vanish').fadeOut('slow'() {

It's just:


I wonder how the system let me advance to the next exercise :confused:


The SCT may not have checked for console errors and found everything it was looking for in your code. This happens. It is good that you stuck it out and found your error.


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