Button doesn't fade in or out although code is correct


3/3 Get yourself in

pass mouse over button and colour doesn't change
Oops, try again. It looks like you didn't set your div's opacity to 0.5. Check the example in the instructions if you need help!

$('div').mouseenter(function() {
$('div').fadeTo('fast', 1);




you added a mouseleave event, this will set the o-capicity back to 0.5, while it should stay at 1 after entering with the mouse


But the button doesn't fade in or out


not when hovering? Can i also see your html code?


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