Selecting by ID


Everything looks right to me, but for all the divs are disappearing still. Am I missing something?

$(document).ready(function() {
    $('button').click(function() {


HI the id of the div is #blue so you should change it here


where you put '#blue' you should put how fast it will fadeOut which should be 'slow' then where you have 'div' put #blue


Ah! Wonderful, thank you so much!


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