App Mastery interview question

Implement event handlers on pure JavaScript for keyboard and mouse to move a rectangle to specific location.