Hello teacher, there is such a piece of code in the course code.
$('.block').stop().animate() animation effect. Why do you need to put stop() in front of animate()
The stop() method is added to stop the currently running animation; if you encounter this problem, it is recommended that you delete stop() first to see the effect. In fact, it is clear at a glance
The stop() method is added to stop the currently running animation; if you encounter this problem, it is recommended that you delete stop() first to see the effect. In fact, it is clear at a glance