Change the div position when certain event triggers (Using pure JavaScript) Hi everyone, I hope you are all doing well. I am looking forward to achieving a vibration effect for a div that is relatively positioned, dynamically on click event in pure javascript without any typescript injections, Is there any optimum way to achieve said milestone with pure javascript. I have some solutions which are typescript based, but I want it in pure javascript....