Need help with removing and cloning element after animation


I have a Pen with animated elements that are created with some random math. This is something I’m doing as part of learning jQuery/JS.

My problem is that I don’t know how to, after the animation is done, remove the element, clone it, and inserting it at a new randomized position with the animation fired again.

Would be really grateful for help.

(If there is something else that can be improved in the code (which I am sure it is) feel free to tell me=) )

none that can help?=)

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