Looking for a more efficient way to write the following code snippet:
$(function(){
$('.start-here-notice').fadeIn(1000).animate({"left":"-155px"}, "slow")
$('.start-here-notice').animate({"left":"-165px"}, "slow").delay(5000).fadeOut(1000);
});
This code works fine, but I believe there might be room for improvement. If optimized, I could potentially add additional animations.
I'm still in the learning phase and any guidance or suggestions would be greatly appreciated.
Thank you!