What's wrong with this code?


#1

$(document).ready(function(){
$('div').dbclick(function(){
$(this).fadeOut('fast');
});
});


#2

Hi Codemaster2427,

Please give us a link to the exercise you're, and the error message you're getting on so we can help you :slightly_smiling:


#3

Try

||
V

$('div').click(function(){
//      ^^ No 'db'

#4

Thanks guys. dbclick should be dblclick. I missed a l.