Button not moving when click on it using some calculation – Jquery
When clicking on the button, I am assigning random margins from the top and left to it, so it can move but it's not working. HTML <button id="bouncing" class="btn btn-primary">Click Me</button> JS var button = document.querySelector("button"); button.addEventListener("click", function() { var…