An other important point that can be added here👆 is API key will be exposed to the client which can be obtained easily by inspecting network requests.
Lalit, Thanks a ton for liking and contributing to the post. I have made the edit to capture the precious point you have made, Lalit. Have a great day, my friend.