If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
When the plate moves with the required food,you have to change the food based on requirement and expel the food to the plate. Try to expel the food before the plate moves away from the screen.
Mouse - Move / Change Food.
Spacebar - Release the Food.