2/12 Cutting to the Chase


#1

Your div represents the planet Krypton. Make it .fadeOut() 'fast'! (Go ahead and do this immediately, without the need for a click.)

$(document).ready(function() {
$('element').fadeOut('fast');
});

Oops, try again. It looks like Krypton is still there! Check the Hint if you need help.

What did I do wrong?


#2

Hi Amara,

What did I do wrong?

Take a look at line 2 and see if you can spot the problem.

Hint: (scroll horizontally to see it)

                                                                                              You should be selecting `div`, not `element`

#3

Ok, so the only reason that it isn't working is because your target is 'element,' not 'div.

'


It doesnt work
#4

Thank you :grinning:


#7