The task is about getting the specific data from the rest countries URL by using the arrow function, filter, and reduce method
- Get all the countries from Asia continent /region using Filter method:
- Displayed all the countries from the Asia continent or region using the filter method
- Get the code in the AsianCountriesfolder
- Get all the countries with a population of less than 2 lakhs using Filter method:
- Displayed all the countries with a population of less than two lakhs using the filter method
- Get the code in the PopulationLessThanTwoLakhsCountries folder
- Get the following details name, capital, flag, using forEach method:
- Displayed all the countries name, capital and flag by using forEach method
- Get the code in theAllCountriesNameCapitalFlag folder
- Get the total population of countries using reduce method:
- Displayed the total population of countries using reduce method
- Get the code in theTotalPopulation folder
- Get the country that uses US dollars as currency:
- Displayed the country that uses US dollars as currency
- Get the code in the CountriesUsingUSD