Solving problems using Array Functions on rest countries data (https://restcountries.com/v3.1/all)
-
Get all the countries from Asia using Filter Method.
- Created HTML and added script.js
- In script.js, added all the codes to get the data from restcountries API and display all the countries from Asia.
- Code is in the Asia Countries Folder
-
Get all countries with a population less tha 2 lakh using Filter Method
- Created HTML and added script.js
- In script.js, added all the codes to get the data from restcountries API and display all countries with a population less tha 2 lakh.
- Code is in the Country population less than 2 lakh Folder
-
Print all following details Countries Names, capitals, Flags using forEach Method
- Created HTML and added script.js
- In script.js, added all the codes to get the data from restcountries API and display all countries Names, capitals, Flags.
- Code is in the Country Name Capital Flag Folder
-
Print the total population of countries using reduce method
- Created HTML and added script.js
- In script.js, added all the codes to get the data from restcountries API and display total population of countries.
- Code is in the Country Population Folder
-
Print the countries that uses US dollars as currency.
- Created HTML and added script.js
- In script.js, added all the codes to get the data from restcountries API and display all countries that uses US dollars as currency.
- Code is in the US Dollar Countries Folder