Skip to content

When the user enters the website, we will use a plugin called 'geoPlugin', which is an API based on the IP Address of the user, returns the country code of the user. The country code is a two-character universal code, which does not change, whereas any other thing for the country might change, for example, the language of the country might chang…

License

Notifications You must be signed in to change notification settings

aashish22bansal/ITE1002-Web-Technologies-COVID-19-Live-Stats-Responsive-Website-Project

Repository files navigation

Web-Technologies-COVID-19-Live-Stats-Responsive-Website-Project

Web Technologies Project

Website: https://covid19trackerr.netlify.app/

When the user enters the website, we will use a pulgin called 'geoPlugin', which is an API based on the IP Address of the user, returns the country code of the user. The country code is a two character universal code, which does not change, whereas any other thing for the country might change, for example, the language of the country might change. After fetching the country code, we are going to use a list of codes, named as the 'country_list' to get the details for that country. Then, we will send the country name to the API and then we will fetch all the details of the country.

We need to add a script to out code for the plugin to work. Then we will be using the function geoplugin_countryCode(); to return the country code of the user.

We will also be using some Promises and Callbacks.

About

When the user enters the website, we will use a plugin called 'geoPlugin', which is an API based on the IP Address of the user, returns the country code of the user. The country code is a two-character universal code, which does not change, whereas any other thing for the country might change, for example, the language of the country might chang…

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published