What's wrong with this fadeTo opacity setting?


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

No matter what I try and it seems to me that I have it right, but I still get:

Oops, try again. It looks like you didn't set your div's opacity to 1. Check the example to in the instructions if you need help!


Solved it. It turns out I had to set Opacity to 1 in stylesheet.css as noted here: https://www.codecademy.com/forum_questions/5418564b80ff337b7200401c


I was having the same issue, thanks for the solution :grin: