Preview lessons, content and tests

Computer Science & Programming solved. All in one platform.

1. To trial the platform and take tests, please take a few seconds to SIGN UP and SET UP FREE.
2. Searching for something specific? See our text overview of all tests. Includes 'real teacher' use videos.

Geolocation is most accurate for devices with GPS, like the smartphone. The HTML Geolocation API is used to locate a user's position. Since this can compromise privacy, the position is not available unless the user approves it.

You can learn more about JavaScript and Geolocation using the following links. Do read through them and try coding some examples for yourself before doing this test.

W3Schools Geolocation:

Homeandlearn Geolocation

Google developer's API  - useful link - try it yourself

Youtube Video