Distance Calculator using postcode by google api

Hello
Anyone can help me to make this type of calculator ? Please check this URL https://www.freemaptools.com/distance-between-uk-postcodes.htm

Hi,

In order for us to help you, you must demonstrate that you have tried to find a solution by yourself first.

You can do this by:

  • Posting the code that you have currently used

  • The error output you are receiving OR where you are getting stuck

As for calculating the distance between two points, Google Maps Distance Matrix API does that.