Need help on 12/13


#1

I think there is still a bug, did i code this properly I'm getting a error,
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!

$(document).ready(function(){
$('div').mouseenter(function() {
$('div').fadeTo('fast', 1);
});
$('div').mouseleave(function() {
$('div').fadeTo('fast', 0.5);
});
});


12/13 potential Bug!
#2

Hi zach,

Your code is fine, and works for me. Try making sure that you're doing what they expect you to when you run the code:

Mouse on to <div>
Wait two seconds
Mouse off of <div>
Wait two seconds
Return to editor

If that doesn't work, you could also try refreshing the page or switching browsers


#3

Try setting it to:
$('div').fadeTo('fast', 0.50);

Instead of 0.5


#4

I had the same problem and your solution helps :slightly_smiling: but why? it must be the same ))


#5

I'm not sure, but it works for me


#9

A post was split to a new topic: 12. ...and Get Yourself Out!