My effect goes up not down


Oops, try again. Your top counter should be increasing, not decreasing.

$(document).ready(function() {
    $('img').animate({top:'-=100px'}, 1000);

how do I fix this


I think it might be a glitch about the lesson because I hit reset code and the code changes to


// Fill in the blanks!
$( ).animate({ top: '-=', 500 });



that is correct as you need to fill in the blanks.
ONLY the - should be a + so that little mistake or Codecademy is testing and challenging you

here what you need to do is replace the - with +


Thanks for the help the code passed this time


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