2d-collision-detection

Using arrow keys to move an HTML element, this checks if the movable element is 'colliding' with the second element on screen

Method used: checking distance between the center points of both objects with pythagorean theorem