JavaScript warm-up exercises + programming challenges | Garrett Hestand
Enter the latitude and longitude for two locations. Choose a unit, then click Calculate to find the great-circle distance using the Haversine formula.
A random number between 1 and 100 has been chosen. Type your guess below and click Submit. You will be told whether your guess is too high, too low, or correct, along with how many guesses you have made. Reload the page to start a new game.