Step 1
Write the HTML aspect.
Step 2
Write the Javascript code to be inserted into the HTML body section.
Finally, let us see the whole code(i.e both HTML and Javascript)
Once the button is clicked, the Longitude and latitude coordinates of the user's current location will be displayed.
![Get Longitude and Latitude of Current location]()