2. More Practice with .animate()


#1

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

Can not figure out what I have incorrect here. Can someone point it out for me please?

Thanks!!


#2

This does not look quite right.


#3

Sorry, that was not how I had it on the practice. Here is what I had. Not sure how I got the < in what I pasted in my questions. Any help with this will be greatly appreciated!

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


#5

jQuery TYPE selectors must be written in quotes, just as CLASS and ID.

$('element')

#6

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