diff --git a/.gitignore b/.gitignore
index cdf6fd9..34cc674 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,12 +14,6 @@ day9.md
day10.md
01_02_03_days_backup.md
test.md
-12_Day
-13_Day
-14_Day
-15_Day
-16_Day
-17_Day
18_Day
19_Day
20_Day
@@ -33,4 +27,5 @@ test.md
28_Day
29_Day
30_Day
-test.html
\ No newline at end of file
+test.html
+res.js
\ No newline at end of file
diff --git a/03_Day/03_booleans_operators_date.md b/03_Day/03_booleans_operators_date.md
index d4a890d..b080789 100644
--- a/03_Day/03_booleans_operators_date.md
+++ b/03_Day/03_booleans_operators_date.md
@@ -64,8 +64,8 @@ let isLightOn = true
let isRaining = false
let isHungry = false
let isMarried = true
-let truValue = 4 > 3 // true
-let falseValue = 3 < 4 // false
+let truValue = 4 > 3 // true
+let falseValue = 4 < 3 // false
```
We agreed that boolean values are either true or false.
diff --git a/10_Day/10_day_Set_and_Map.md b/10_Day/10_day_Set_and_Map.md
index ed0f3ea..65067c9 100644
--- a/10_Day/10_day_Set_and_Map.md
+++ b/10_Day/10_day_Set_and_Map.md
@@ -13,7 +13,7 @@
-[<< Day 9](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/09_Day/09_day_higher_order_functions.md) | [Day 11>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/11_Day/11_destructuring_and_spread.md)
+[<< Day 9](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/09_Day/09_day_higher_order_functions.md) | [Day 11>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/11_Day/11_day_destructuring_and_spread.md)

@@ -388,6 +388,7 @@ Norway Oslo
## Exercises
### Exercises:Level 1
+
```js
const a = {4, 5, 8, 9}
const b = {3, 4, 5, 7}
@@ -409,33 +410,36 @@ const countries = ['Finland', 'Sweden', 'Norway']
### Exercises:Level 3
+1. How many languages are there in the countries object file.
+
1. \*\*\* Use the countries data to find the 10 most spoken languages:
````js
// Your output should look like this
console.log(mostSpokenLanguages(countries, 10))
- [(91, 'English'),
- (45, 'French'),
- (25, 'Arabic'),
- (24, 'Spanish'),
- (9, 'Russian'),
- (9, 'Portuguese'),
- (8, 'Dutch'),
- (7, 'German'),
- (5, 'Chinese'),
- (4, 'Swahili'),
- (4, 'Serbian')]
+ [
+ {'English':91},
+ {'French':45},
+ {'Arabic':25},
+ {'Spanish':24},
+ {'Russian':9},
+ {'Portuguese':9},
+ {'Dutch':8},
+ {'German':7},
+ {'Chinese':5},
+ {'Swahili':4},
+ {'Serbian':4}]
// Your output should look like this
console.log(mostSpokenLanguages(countries, 3))
- [
- (91, 'English'),
- (45, 'French'),
- (25, 'Arabic')
- ]```
- ````
+ [
+ {'English':91},
+ {'French':45},
+ {'Arabic':25}
+ ]
+````
đ CONGRATULATIONS ! đ
-[<< Day 9](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/09_Day/09_day_higher_order_functions.md) | [Day 11>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/11_Day/11_destructuring_and_spread.md)
+[<< Day 9](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/09_Day/09_day_higher_order_functions.md) | [Day 11>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/11_Day/11_day_destructuring_and_spread.md)
diff --git a/10_Day/10_day_starter/data/countries_data.js b/10_Day/10_day_starter/data/countries_data.js
new file mode 100644
index 0000000..92acddd
--- /dev/null
+++ b/10_Day/10_day_starter/data/countries_data.js
@@ -0,0 +1,2013 @@
+const countries = [
+ {
+ name: 'Afghanistan',
+ capital: 'Kabul',
+ languages: ['Pashto', 'Uzbek', 'Turkmen'],
+ population: 27657145,
+ flag: 'https://restcountries.eu/data/afg.svg',
+ currency: 'Afghan afghani'
+ },
+ {
+ name: 'Ă
land Islands',
+ capital: 'Mariehamn',
+ languages: ['Swedish'],
+ population: 28875,
+ flag: 'https://restcountries.eu/data/ala.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Albania',
+ capital: 'Tirana',
+ languages: ['Albanian'],
+ population: 2886026,
+ flag: 'https://restcountries.eu/data/alb.svg',
+ currency: 'Albanian lek'
+ },
+ {
+ name: 'Algeria',
+ capital: 'Algiers',
+ languages: ['Arabic'],
+ population: 40400000,
+ flag: 'https://restcountries.eu/data/dza.svg',
+ currency: 'Algerian dinar'
+ },
+ {
+ name: 'American Samoa',
+ capital: 'Pago Pago',
+ languages: ['English', 'Samoan'],
+ population: 57100,
+ flag: 'https://restcountries.eu/data/asm.svg',
+ currency: 'United State Dollar'
+ },
+ {
+ name: 'Andorra',
+ capital: 'Andorra la Vella',
+ languages: ['Catalan'],
+ population: 78014,
+ flag: 'https://restcountries.eu/data/and.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Angola',
+ capital: 'Luanda',
+ languages: ['Portuguese'],
+ population: 25868000,
+ flag: 'https://restcountries.eu/data/ago.svg',
+ currency: 'Angolan kwanza'
+ },
+ {
+ name: 'Anguilla',
+ capital: 'The Valley',
+ languages: ['English'],
+ population: 13452,
+ flag: 'https://restcountries.eu/data/aia.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Antarctica',
+ capital: '',
+ languages: ['English', 'Russian'],
+ population: 1000,
+ flag: 'https://restcountries.eu/data/ata.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Antigua and Barbuda',
+ capital: "Saint John's",
+ languages: ['English'],
+ population: 86295,
+ flag: 'https://restcountries.eu/data/atg.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Argentina',
+ capital: 'Buenos Aires',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 43590400,
+ flag: 'https://restcountries.eu/data/arg.svg',
+ currency: 'Argentine peso'
+ },
+ {
+ name: 'Armenia',
+ capital: 'Yerevan',
+ languages: ['Armenian', 'Russian'],
+ population: 2994400,
+ flag: 'https://restcountries.eu/data/arm.svg',
+ currency: 'Armenian dram'
+ },
+ {
+ name: 'Aruba',
+ capital: 'Oranjestad',
+ languages: ['Dutch', '(Eastern) Punjabi'],
+ population: 107394,
+ flag: 'https://restcountries.eu/data/abw.svg',
+ currency: 'Aruban florin'
+ },
+ {
+ name: 'Australia',
+ capital: 'Canberra',
+ languages: ['English'],
+ population: 24117360,
+ flag: 'https://restcountries.eu/data/aus.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Austria',
+ capital: 'Vienna',
+ languages: ['German'],
+ population: 8725931,
+ flag: 'https://restcountries.eu/data/aut.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Azerbaijan',
+ capital: 'Baku',
+ languages: ['Azerbaijani'],
+ population: 9730500,
+ flag: 'https://restcountries.eu/data/aze.svg',
+ currency: 'Azerbaijani manat'
+ },
+ {
+ name: 'Bahamas',
+ capital: 'Nassau',
+ languages: ['English'],
+ population: 378040,
+ flag: 'https://restcountries.eu/data/bhs.svg',
+ currency: 'Bahamian dollar'
+ },
+ {
+ name: 'Bahrain',
+ capital: 'Manama',
+ languages: ['Arabic'],
+ population: 1404900,
+ flag: 'https://restcountries.eu/data/bhr.svg',
+ currency: 'Bahraini dinar'
+ },
+ {
+ name: 'Bangladesh',
+ capital: 'Dhaka',
+ languages: ['Bengali'],
+ population: 161006790,
+ flag: 'https://restcountries.eu/data/bgd.svg',
+ currency: 'Bangladeshi taka'
+ },
+ {
+ name: 'Barbados',
+ capital: 'Bridgetown',
+ languages: ['English'],
+ population: 285000,
+ flag: 'https://restcountries.eu/data/brb.svg',
+ currency: 'Barbadian dollar'
+ },
+ {
+ name: 'Belarus',
+ capital: 'Minsk',
+ languages: ['Belarusian', 'Russian'],
+ population: 9498700,
+ flag: 'https://restcountries.eu/data/blr.svg',
+ currency: 'New Belarusian ruble'
+ },
+ {
+ name: 'Belgium',
+ capital: 'Brussels',
+ languages: ['Dutch', 'French', 'German'],
+ population: 11319511,
+ flag: 'https://restcountries.eu/data/bel.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Belize',
+ capital: 'Belmopan',
+ languages: ['English', 'Spanish'],
+ population: 370300,
+ flag: 'https://restcountries.eu/data/blz.svg',
+ currency: 'Belize dollar'
+ },
+ {
+ name: 'Benin',
+ capital: 'Porto-Novo',
+ languages: ['French'],
+ population: 10653654,
+ flag: 'https://restcountries.eu/data/ben.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Bermuda',
+ capital: 'Hamilton',
+ languages: ['English'],
+ population: 61954,
+ flag: 'https://restcountries.eu/data/bmu.svg',
+ currency: 'Bermudian dollar'
+ },
+ {
+ name: 'Bhutan',
+ capital: 'Thimphu',
+ languages: ['Dzongkha'],
+ population: 775620,
+ flag: 'https://restcountries.eu/data/btn.svg',
+ currency: 'Bhutanese ngultrum'
+ },
+ {
+ name: 'Bolivia (Plurinational State of)',
+ capital: 'Sucre',
+ languages: ['Spanish', 'Aymara', 'Quechua'],
+ population: 10985059,
+ flag: 'https://restcountries.eu/data/bol.svg',
+ currency: 'Bolivian boliviano'
+ },
+ {
+ name: 'Bonaire, Sint Eustatius and Saba',
+ capital: 'Kralendijk',
+ languages: ['Dutch'],
+ population: 17408,
+ flag: 'https://restcountries.eu/data/bes.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Bosnia and Herzegovina',
+ capital: 'Sarajevo',
+ languages: ['Bosnian', 'Croatian', 'Serbian'],
+ population: 3531159,
+ flag: 'https://restcountries.eu/data/bih.svg',
+ currency: 'Bosnia and Herzegovina convertible mark'
+ },
+ {
+ name: 'Botswana',
+ capital: 'Gaborone',
+ languages: ['English', 'Tswana'],
+ population: 2141206,
+ flag: 'https://restcountries.eu/data/bwa.svg',
+ currency: 'Botswana pula'
+ },
+ {
+ name: 'Bouvet Island',
+ capital: '',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/bvt.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Brazil',
+ capital: 'BrasĂlia',
+ languages: ['Portuguese'],
+ population: 206135893,
+ flag: 'https://restcountries.eu/data/bra.svg',
+ currency: 'Brazilian real'
+ },
+ {
+ name: 'British Indian Ocean Territory',
+ capital: 'Diego Garcia',
+ languages: ['English'],
+ population: 3000,
+ flag: 'https://restcountries.eu/data/iot.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'United States Minor Outlying Islands',
+ capital: '',
+ languages: ['English'],
+ population: 300,
+ flag: 'https://restcountries.eu/data/umi.svg',
+ currency: 'United States Dollar'
+ },
+ {
+ name: 'Virgin Islands (British)',
+ capital: 'Road Town',
+ languages: ['English'],
+ population: 28514,
+ flag: 'https://restcountries.eu/data/vgb.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Virgin Islands (U.S.)',
+ capital: 'Charlotte Amalie',
+ languages: ['English'],
+ population: 114743,
+ flag: 'https://restcountries.eu/data/vir.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Brunei Darussalam',
+ capital: 'Bandar Seri Begawan',
+ languages: ['Malay'],
+ population: 411900,
+ flag: 'https://restcountries.eu/data/brn.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Bulgaria',
+ capital: 'Sofia',
+ languages: ['Bulgarian'],
+ population: 7153784,
+ flag: 'https://restcountries.eu/data/bgr.svg',
+ currency: 'Bulgarian lev'
+ },
+ {
+ name: 'Burkina Faso',
+ capital: 'Ouagadougou',
+ languages: ['French', 'Fula'],
+ population: 19034397,
+ flag: 'https://restcountries.eu/data/bfa.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Burundi',
+ capital: 'Bujumbura',
+ languages: ['French', 'Kirundi'],
+ population: 10114505,
+ flag: 'https://restcountries.eu/data/bdi.svg',
+ currency: 'Burundian franc'
+ },
+ {
+ name: 'Cambodia',
+ capital: 'Phnom Penh',
+ languages: ['Khmer'],
+ population: 15626444,
+ flag: 'https://restcountries.eu/data/khm.svg',
+ currency: 'Cambodian riel'
+ },
+ {
+ name: 'Cameroon',
+ capital: 'Yaoundé',
+ languages: ['English', 'French'],
+ population: 22709892,
+ flag: 'https://restcountries.eu/data/cmr.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Canada',
+ capital: 'Ottawa',
+ languages: ['English', 'French'],
+ population: 36155487,
+ flag: 'https://restcountries.eu/data/can.svg',
+ currency: 'Canadian dollar'
+ },
+ {
+ name: 'Cabo Verde',
+ capital: 'Praia',
+ languages: ['Portuguese'],
+ population: 531239,
+ flag: 'https://restcountries.eu/data/cpv.svg',
+ currency: 'Cape Verdean escudo'
+ },
+ {
+ name: 'Cayman Islands',
+ capital: 'George Town',
+ languages: ['English'],
+ population: 58238,
+ flag: 'https://restcountries.eu/data/cym.svg',
+ currency: 'Cayman Islands dollar'
+ },
+ {
+ name: 'Central African Republic',
+ capital: 'Bangui',
+ languages: ['French', 'Sango'],
+ population: 4998000,
+ flag: 'https://restcountries.eu/data/caf.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chad',
+ capital: "N'Djamena",
+ languages: ['French', 'Arabic'],
+ population: 14497000,
+ flag: 'https://restcountries.eu/data/tcd.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chile',
+ capital: 'Santiago',
+ languages: ['Spanish'],
+ population: 18191900,
+ flag: 'https://restcountries.eu/data/chl.svg',
+ currency: 'Chilean peso'
+ },
+ {
+ name: 'China',
+ capital: 'Beijing',
+ languages: ['Chinese'],
+ population: 1377422166,
+ flag: 'https://restcountries.eu/data/chn.svg',
+ currency: 'Chinese yuan'
+ },
+ {
+ name: 'Christmas Island',
+ capital: 'Flying Fish Cove',
+ languages: ['English'],
+ population: 2072,
+ flag: 'https://restcountries.eu/data/cxr.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Cocos (Keeling) Islands',
+ capital: 'West Island',
+ languages: ['English'],
+ population: 550,
+ flag: 'https://restcountries.eu/data/cck.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Colombia',
+ capital: 'BogotĂĄ',
+ languages: ['Spanish'],
+ population: 48759958,
+ flag: 'https://restcountries.eu/data/col.svg',
+ currency: 'Colombian peso'
+ },
+ {
+ name: 'Comoros',
+ capital: 'Moroni',
+ languages: ['Arabic', 'French'],
+ population: 806153,
+ flag: 'https://restcountries.eu/data/com.svg',
+ currency: 'Comorian franc'
+ },
+ {
+ name: 'Congo',
+ capital: 'Brazzaville',
+ languages: ['French', 'Lingala'],
+ population: 4741000,
+ flag: 'https://restcountries.eu/data/cog.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Congo (Democratic Republic of the)',
+ capital: 'Kinshasa',
+ languages: ['French', 'Lingala', 'Kongo', 'Swahili', 'Luba-Katanga'],
+ population: 85026000,
+ flag: 'https://restcountries.eu/data/cod.svg',
+ currency: 'Congolese franc'
+ },
+ {
+ name: 'Cook Islands',
+ capital: 'Avarua',
+ languages: ['English'],
+ population: 18100,
+ flag: 'https://restcountries.eu/data/cok.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Costa Rica',
+ capital: 'San José',
+ languages: ['Spanish'],
+ population: 4890379,
+ flag: 'https://restcountries.eu/data/cri.svg',
+ currency: 'Costa Rican colĂłn'
+ },
+ {
+ name: 'Croatia',
+ capital: 'Zagreb',
+ languages: ['Croatian'],
+ population: 4190669,
+ flag: 'https://restcountries.eu/data/hrv.svg',
+ currency: 'Croatian kuna'
+ },
+ {
+ name: 'Cuba',
+ capital: 'Havana',
+ languages: ['Spanish'],
+ population: 11239004,
+ flag: 'https://restcountries.eu/data/cub.svg',
+ currency: 'Cuban convertible peso'
+ },
+ {
+ name: 'Curaçao',
+ capital: 'Willemstad',
+ languages: ['Dutch', '(Eastern) Punjabi', 'English'],
+ population: 154843,
+ flag: 'https://restcountries.eu/data/cuw.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Cyprus',
+ capital: 'Nicosia',
+ languages: ['Greek (modern)', 'Turkish', 'Armenian'],
+ population: 847000,
+ flag: 'https://restcountries.eu/data/cyp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Czech Republic',
+ capital: 'Prague',
+ languages: ['Czech', 'Slovak'],
+ population: 10558524,
+ flag: 'https://restcountries.eu/data/cze.svg',
+ currency: 'Czech koruna'
+ },
+ {
+ name: 'Denmark',
+ capital: 'Copenhagen',
+ languages: ['Danish'],
+ population: 5717014,
+ flag: 'https://restcountries.eu/data/dnk.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Djibouti',
+ capital: 'Djibouti',
+ languages: ['French', 'Arabic'],
+ population: 900000,
+ flag: 'https://restcountries.eu/data/dji.svg',
+ currency: 'Djiboutian franc'
+ },
+ {
+ name: 'Dominica',
+ capital: 'Roseau',
+ languages: ['English'],
+ population: 71293,
+ flag: 'https://restcountries.eu/data/dma.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Dominican Republic',
+ capital: 'Santo Domingo',
+ languages: ['Spanish'],
+ population: 10075045,
+ flag: 'https://restcountries.eu/data/dom.svg',
+ currency: 'Dominican peso'
+ },
+ {
+ name: 'Ecuador',
+ capital: 'Quito',
+ languages: ['Spanish'],
+ population: 16545799,
+ flag: 'https://restcountries.eu/data/ecu.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Egypt',
+ capital: 'Cairo',
+ languages: ['Arabic'],
+ population: 91290000,
+ flag: 'https://restcountries.eu/data/egy.svg',
+ currency: 'Egyptian pound'
+ },
+ {
+ name: 'El Salvador',
+ capital: 'San Salvador',
+ languages: ['Spanish'],
+ population: 6520675,
+ flag: 'https://restcountries.eu/data/slv.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Equatorial Guinea',
+ capital: 'Malabo',
+ languages: ['Spanish', 'French'],
+ population: 1222442,
+ flag: 'https://restcountries.eu/data/gnq.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Eritrea',
+ capital: 'Asmara',
+ languages: ['Tigrinya', 'Arabic', 'English'],
+ population: 5352000,
+ flag: 'https://restcountries.eu/data/eri.svg',
+ currency: 'Eritrean nakfa'
+ },
+ {
+ name: 'Estonia',
+ capital: 'Tallinn',
+ languages: ['Estonian'],
+ population: 1315944,
+ flag: 'https://restcountries.eu/data/est.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ethiopia',
+ capital: 'Addis Ababa',
+ languages: ['Amharic'],
+ population: 92206005,
+ flag: 'https://restcountries.eu/data/eth.svg',
+ currency: 'Ethiopian birr'
+ },
+ {
+ name: 'Falkland Islands (Malvinas)',
+ capital: 'Stanley',
+ languages: ['English'],
+ population: 2563,
+ flag: 'https://restcountries.eu/data/flk.svg',
+ currency: 'Falkland Islands pound'
+ },
+ {
+ name: 'Faroe Islands',
+ capital: 'TĂłrshavn',
+ languages: ['Faroese'],
+ population: 49376,
+ flag: 'https://restcountries.eu/data/fro.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Fiji',
+ capital: 'Suva',
+ languages: ['English', 'Fijian', 'Hindi', 'Urdu'],
+ population: 867000,
+ flag: 'https://restcountries.eu/data/fji.svg',
+ currency: 'Fijian dollar'
+ },
+ {
+ name: 'Finland',
+ capital: 'Helsinki',
+ languages: ['Finnish', 'Swedish'],
+ population: 5491817,
+ flag: 'https://restcountries.eu/data/fin.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'France',
+ capital: 'Paris',
+ languages: ['French'],
+ population: 66710000,
+ flag: 'https://restcountries.eu/data/fra.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Guiana',
+ capital: 'Cayenne',
+ languages: ['French'],
+ population: 254541,
+ flag: 'https://restcountries.eu/data/guf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Polynesia',
+ capital: 'PapeetÄ',
+ languages: ['French'],
+ population: 271800,
+ flag: 'https://restcountries.eu/data/pyf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'French Southern Territories',
+ capital: 'Port-aux-Français',
+ languages: ['French'],
+ population: 140,
+ flag: 'https://restcountries.eu/data/atf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Gabon',
+ capital: 'Libreville',
+ languages: ['French'],
+ population: 1802278,
+ flag: 'https://restcountries.eu/data/gab.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Gambia',
+ capital: 'Banjul',
+ languages: ['English'],
+ population: 1882450,
+ flag: 'https://restcountries.eu/data/gmb.svg',
+ currency: 'Gambian dalasi'
+ },
+ {
+ name: 'Georgia',
+ capital: 'Tbilisi',
+ languages: ['Georgian'],
+ population: 3720400,
+ flag: 'https://restcountries.eu/data/geo.svg',
+ currency: 'Georgian Lari'
+ },
+ {
+ name: 'Germany',
+ capital: 'Berlin',
+ languages: ['German'],
+ population: 81770900,
+ flag: 'https://restcountries.eu/data/deu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ghana',
+ capital: 'Accra',
+ languages: ['English'],
+ population: 27670174,
+ flag: 'https://restcountries.eu/data/gha.svg',
+ currency: 'Ghanaian cedi'
+ },
+ {
+ name: 'Gibraltar',
+ capital: 'Gibraltar',
+ languages: ['English'],
+ population: 33140,
+ flag: 'https://restcountries.eu/data/gib.svg',
+ currency: 'Gibraltar pound'
+ },
+ {
+ name: 'Greece',
+ capital: 'Athens',
+ languages: ['Greek (modern)'],
+ population: 10858018,
+ flag: 'https://restcountries.eu/data/grc.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Greenland',
+ capital: 'Nuuk',
+ languages: ['Kalaallisut'],
+ population: 55847,
+ flag: 'https://restcountries.eu/data/grl.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Grenada',
+ capital: "St. George's",
+ languages: ['English'],
+ population: 103328,
+ flag: 'https://restcountries.eu/data/grd.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Guadeloupe',
+ capital: 'Basse-Terre',
+ languages: ['French'],
+ population: 400132,
+ flag: 'https://restcountries.eu/data/glp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Guam',
+ capital: 'HagÄtña',
+ languages: ['English', 'Chamorro', 'Spanish'],
+ population: 184200,
+ flag: 'https://restcountries.eu/data/gum.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Guatemala',
+ capital: 'Guatemala City',
+ languages: ['Spanish'],
+ population: 16176133,
+ flag: 'https://restcountries.eu/data/gtm.svg',
+ currency: 'Guatemalan quetzal'
+ },
+ {
+ name: 'Guernsey',
+ capital: 'St. Peter Port',
+ languages: ['English', 'French'],
+ population: 62999,
+ flag: 'https://restcountries.eu/data/ggy.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Guinea',
+ capital: 'Conakry',
+ languages: ['French', 'Fula'],
+ population: 12947000,
+ flag: 'https://restcountries.eu/data/gin.svg',
+ currency: 'Guinean franc'
+ },
+ {
+ name: 'Guinea-Bissau',
+ capital: 'Bissau',
+ languages: ['Portuguese'],
+ population: 1547777,
+ flag: 'https://restcountries.eu/data/gnb.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Guyana',
+ capital: 'Georgetown',
+ languages: ['English'],
+ population: 746900,
+ flag: 'https://restcountries.eu/data/guy.svg',
+ currency: 'Guyanese dollar'
+ },
+ {
+ name: 'Haiti',
+ capital: 'Port-au-Prince',
+ languages: ['French', 'Haitian'],
+ population: 11078033,
+ flag: 'https://restcountries.eu/data/hti.svg',
+ currency: 'Haitian gourde'
+ },
+ {
+ name: 'Heard Island and McDonald Islands',
+ capital: '',
+ languages: ['English'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/hmd.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Holy See',
+ capital: 'Rome',
+ languages: ['Latin', 'Italian', 'French', 'German'],
+ population: 451,
+ flag: 'https://restcountries.eu/data/vat.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Honduras',
+ capital: 'Tegucigalpa',
+ languages: ['Spanish'],
+ population: 8576532,
+ flag: 'https://restcountries.eu/data/hnd.svg',
+ currency: 'Honduran lempira'
+ },
+ {
+ name: 'Hong Kong',
+ capital: 'City of Victoria',
+ languages: ['English', 'Chinese'],
+ population: 7324300,
+ flag: 'https://restcountries.eu/data/hkg.svg',
+ currency: 'Hong Kong dollar'
+ },
+ {
+ name: 'Hungary',
+ capital: 'Budapest',
+ languages: ['Hungarian'],
+ population: 9823000,
+ flag: 'https://restcountries.eu/data/hun.svg',
+ currency: 'Hungarian forint'
+ },
+ {
+ name: 'Iceland',
+ capital: 'ReykjavĂk',
+ languages: ['Icelandic'],
+ population: 334300,
+ flag: 'https://restcountries.eu/data/isl.svg',
+ currency: 'Icelandic krĂłna'
+ },
+ {
+ name: 'India',
+ capital: 'New Delhi',
+ languages: ['Hindi', 'English'],
+ population: 1295210000,
+ flag: 'https://restcountries.eu/data/ind.svg',
+ currency: 'Indian rupee'
+ },
+ {
+ name: 'Indonesia',
+ capital: 'Jakarta',
+ languages: ['Indonesian'],
+ population: 258705000,
+ flag: 'https://restcountries.eu/data/idn.svg',
+ currency: 'Indonesian rupiah'
+ },
+ {
+ name: "CĂŽte d'Ivoire",
+ capital: 'Yamoussoukro',
+ languages: ['French'],
+ population: 22671331,
+ flag: 'https://restcountries.eu/data/civ.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Iran (Islamic Republic of)',
+ capital: 'Tehran',
+ languages: ['Persian (Farsi)'],
+ population: 79369900,
+ flag: 'https://restcountries.eu/data/irn.svg',
+ currency: 'Iranian rial'
+ },
+ {
+ name: 'Iraq',
+ capital: 'Baghdad',
+ languages: ['Arabic', 'Kurdish'],
+ population: 37883543,
+ flag: 'https://restcountries.eu/data/irq.svg',
+ currency: 'Iraqi dinar'
+ },
+ {
+ name: 'Ireland',
+ capital: 'Dublin',
+ languages: ['Irish', 'English'],
+ population: 6378000,
+ flag: 'https://restcountries.eu/data/irl.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Isle of Man',
+ capital: 'Douglas',
+ languages: ['English', 'Manx'],
+ population: 84497,
+ flag: 'https://restcountries.eu/data/imn.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Israel',
+ capital: 'Jerusalem',
+ languages: ['Hebrew (modern)', 'Arabic'],
+ population: 8527400,
+ flag: 'https://restcountries.eu/data/isr.svg',
+ currency: 'Israeli new shekel'
+ },
+ {
+ name: 'Italy',
+ capital: 'Rome',
+ languages: ['Italian'],
+ population: 60665551,
+ flag: 'https://restcountries.eu/data/ita.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Jamaica',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2723246,
+ flag: 'https://restcountries.eu/data/jam.svg',
+ currency: 'Jamaican dollar'
+ },
+ {
+ name: 'Japan',
+ capital: 'Tokyo',
+ languages: ['Japanese'],
+ population: 126960000,
+ flag: 'https://restcountries.eu/data/jpn.svg',
+ currency: 'Japanese yen'
+ },
+ {
+ name: 'Jersey',
+ capital: 'Saint Helier',
+ languages: ['English', 'French'],
+ population: 100800,
+ flag: 'https://restcountries.eu/data/jey.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Jordan',
+ capital: 'Amman',
+ languages: ['Arabic'],
+ population: 9531712,
+ flag: 'https://restcountries.eu/data/jor.svg',
+ currency: 'Jordanian dinar'
+ },
+ {
+ name: 'Kazakhstan',
+ capital: 'Astana',
+ languages: ['Kazakh', 'Russian'],
+ population: 17753200,
+ flag: 'https://restcountries.eu/data/kaz.svg',
+ currency: 'Kazakhstani tenge'
+ },
+ {
+ name: 'Kenya',
+ capital: 'Nairobi',
+ languages: ['English', 'Swahili'],
+ population: 47251000,
+ flag: 'https://restcountries.eu/data/ken.svg',
+ currency: 'Kenyan shilling'
+ },
+ {
+ name: 'Kiribati',
+ capital: 'South Tarawa',
+ languages: ['English'],
+ population: 113400,
+ flag: 'https://restcountries.eu/data/kir.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Kuwait',
+ capital: 'Kuwait City',
+ languages: ['Arabic'],
+ population: 4183658,
+ flag: 'https://restcountries.eu/data/kwt.svg',
+ currency: 'Kuwaiti dinar'
+ },
+ {
+ name: 'Kyrgyzstan',
+ capital: 'Bishkek',
+ languages: ['Kyrgyz', 'Russian'],
+ population: 6047800,
+ flag: 'https://restcountries.eu/data/kgz.svg',
+ currency: 'Kyrgyzstani som'
+ },
+ {
+ name: "Lao People's Democratic Republic",
+ capital: 'Vientiane',
+ languages: ['Lao'],
+ population: 6492400,
+ flag: 'https://restcountries.eu/data/lao.svg',
+ currency: 'Lao kip'
+ },
+ {
+ name: 'Latvia',
+ capital: 'Riga',
+ languages: ['Latvian'],
+ population: 1961600,
+ flag: 'https://restcountries.eu/data/lva.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Lebanon',
+ capital: 'Beirut',
+ languages: ['Arabic', 'French'],
+ population: 5988000,
+ flag: 'https://restcountries.eu/data/lbn.svg',
+ currency: 'Lebanese pound'
+ },
+ {
+ name: 'Lesotho',
+ capital: 'Maseru',
+ languages: ['English', 'Southern Sotho'],
+ population: 1894194,
+ flag: 'https://restcountries.eu/data/lso.svg',
+ currency: 'Lesotho loti'
+ },
+ {
+ name: 'Liberia',
+ capital: 'Monrovia',
+ languages: ['English'],
+ population: 4615000,
+ flag: 'https://restcountries.eu/data/lbr.svg',
+ currency: 'Liberian dollar'
+ },
+ {
+ name: 'Libya',
+ capital: 'Tripoli',
+ languages: ['Arabic'],
+ population: 6385000,
+ flag: 'https://restcountries.eu/data/lby.svg',
+ currency: 'Libyan dinar'
+ },
+ {
+ name: 'Liechtenstein',
+ capital: 'Vaduz',
+ languages: ['German'],
+ population: 37623,
+ flag: 'https://restcountries.eu/data/lie.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Lithuania',
+ capital: 'Vilnius',
+ languages: ['Lithuanian'],
+ population: 2872294,
+ flag: 'https://restcountries.eu/data/ltu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Luxembourg',
+ capital: 'Luxembourg',
+ languages: ['French', 'German', 'Luxembourgish'],
+ population: 576200,
+ flag: 'https://restcountries.eu/data/lux.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Macao',
+ capital: '',
+ languages: ['Chinese', 'Portuguese'],
+ population: 649100,
+ flag: 'https://restcountries.eu/data/mac.svg',
+ currency: 'Macanese pataca'
+ },
+ {
+ name: 'Macedonia (the former Yugoslav Republic of)',
+ capital: 'Skopje',
+ languages: ['Macedonian'],
+ population: 2058539,
+ flag: 'https://restcountries.eu/data/mkd.svg',
+ currency: 'Macedonian denar'
+ },
+ {
+ name: 'Madagascar',
+ capital: 'Antananarivo',
+ languages: ['French', 'Malagasy'],
+ population: 22434363,
+ flag: 'https://restcountries.eu/data/mdg.svg',
+ currency: 'Malagasy ariary'
+ },
+ {
+ name: 'Malawi',
+ capital: 'Lilongwe',
+ languages: ['English', 'Chichewa'],
+ population: 16832910,
+ flag: 'https://restcountries.eu/data/mwi.svg',
+ currency: 'Malawian kwacha'
+ },
+ {
+ name: 'Malaysia',
+ capital: 'Kuala Lumpur',
+ languages: ['Malaysian'],
+ population: 31405416,
+ flag: 'https://restcountries.eu/data/mys.svg',
+ currency: 'Malaysian ringgit'
+ },
+ {
+ name: 'Maldives',
+ capital: 'Malé',
+ languages: ['Divehi'],
+ population: 344023,
+ flag: 'https://restcountries.eu/data/mdv.svg',
+ currency: 'Maldivian rufiyaa'
+ },
+ {
+ name: 'Mali',
+ capital: 'Bamako',
+ languages: ['French'],
+ population: 18135000,
+ flag: 'https://restcountries.eu/data/mli.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Malta',
+ capital: 'Valletta',
+ languages: ['Maltese', 'English'],
+ population: 425384,
+ flag: 'https://restcountries.eu/data/mlt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Marshall Islands',
+ capital: 'Majuro',
+ languages: ['English', 'Marshallese'],
+ population: 54880,
+ flag: 'https://restcountries.eu/data/mhl.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Martinique',
+ capital: 'Fort-de-France',
+ languages: ['French'],
+ population: 378243,
+ flag: 'https://restcountries.eu/data/mtq.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mauritania',
+ capital: 'Nouakchott',
+ languages: ['Arabic'],
+ population: 3718678,
+ flag: 'https://restcountries.eu/data/mrt.svg',
+ currency: 'Mauritanian ouguiya'
+ },
+ {
+ name: 'Mauritius',
+ capital: 'Port Louis',
+ languages: ['English'],
+ population: 1262879,
+ flag: 'https://restcountries.eu/data/mus.svg',
+ currency: 'Mauritian rupee'
+ },
+ {
+ name: 'Mayotte',
+ capital: 'Mamoudzou',
+ languages: ['French'],
+ population: 226915,
+ flag: 'https://restcountries.eu/data/myt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mexico',
+ capital: 'Mexico City',
+ languages: ['Spanish'],
+ population: 122273473,
+ flag: 'https://restcountries.eu/data/mex.svg',
+ currency: 'Mexican peso'
+ },
+ {
+ name: 'Micronesia (Federated States of)',
+ capital: 'Palikir',
+ languages: ['English'],
+ population: 102800,
+ flag: 'https://restcountries.eu/data/fsm.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Moldova (Republic of)',
+ capital: 'ChiÈinÄu',
+ languages: ['Romanian'],
+ population: 3553100,
+ flag: 'https://restcountries.eu/data/mda.svg',
+ currency: 'Moldovan leu'
+ },
+ {
+ name: 'Monaco',
+ capital: 'Monaco',
+ languages: ['French'],
+ population: 38400,
+ flag: 'https://restcountries.eu/data/mco.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mongolia',
+ capital: 'Ulan Bator',
+ languages: ['Mongolian'],
+ population: 3093100,
+ flag: 'https://restcountries.eu/data/mng.svg',
+ currency: 'Mongolian tögrög'
+ },
+ {
+ name: 'Montenegro',
+ capital: 'Podgorica',
+ languages: ['Serbian', 'Bosnian', 'Albanian', 'Croatian'],
+ population: 621810,
+ flag: 'https://restcountries.eu/data/mne.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Montserrat',
+ capital: 'Plymouth',
+ languages: ['English'],
+ population: 4922,
+ flag: 'https://restcountries.eu/data/msr.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Morocco',
+ capital: 'Rabat',
+ languages: ['Arabic'],
+ population: 33337529,
+ flag: 'https://restcountries.eu/data/mar.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Mozambique',
+ capital: 'Maputo',
+ languages: ['Portuguese'],
+ population: 26423700,
+ flag: 'https://restcountries.eu/data/moz.svg',
+ currency: 'Mozambican metical'
+ },
+ {
+ name: 'Myanmar',
+ capital: 'Naypyidaw',
+ languages: ['Burmese'],
+ population: 51419420,
+ flag: 'https://restcountries.eu/data/mmr.svg',
+ currency: 'Burmese kyat'
+ },
+ {
+ name: 'Namibia',
+ capital: 'Windhoek',
+ languages: ['English', 'Afrikaans'],
+ population: 2324388,
+ flag: 'https://restcountries.eu/data/nam.svg',
+ currency: 'Namibian dollar'
+ },
+ {
+ name: 'Nauru',
+ capital: 'Yaren',
+ languages: ['English', 'Nauruan'],
+ population: 10084,
+ flag: 'https://restcountries.eu/data/nru.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Nepal',
+ capital: 'Kathmandu',
+ languages: ['Nepali'],
+ population: 28431500,
+ flag: 'https://restcountries.eu/data/npl.svg',
+ currency: 'Nepalese rupee'
+ },
+ {
+ name: 'Netherlands',
+ capital: 'Amsterdam',
+ languages: ['Dutch'],
+ population: 17019800,
+ flag: 'https://restcountries.eu/data/nld.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'New Caledonia',
+ capital: 'Nouméa',
+ languages: ['French'],
+ population: 268767,
+ flag: 'https://restcountries.eu/data/ncl.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'New Zealand',
+ capital: 'Wellington',
+ languages: ['English', 'MÄori'],
+ population: 4697854,
+ flag: 'https://restcountries.eu/data/nzl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Nicaragua',
+ capital: 'Managua',
+ languages: ['Spanish'],
+ population: 6262703,
+ flag: 'https://restcountries.eu/data/nic.svg',
+ currency: 'Nicaraguan cĂłrdoba'
+ },
+ {
+ name: 'Niger',
+ capital: 'Niamey',
+ languages: ['French'],
+ population: 20715000,
+ flag: 'https://restcountries.eu/data/ner.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Nigeria',
+ capital: 'Abuja',
+ languages: ['English'],
+ population: 186988000,
+ flag: 'https://restcountries.eu/data/nga.svg',
+ currency: 'Nigerian naira'
+ },
+ {
+ name: 'Niue',
+ capital: 'Alofi',
+ languages: ['English'],
+ population: 1470,
+ flag: 'https://restcountries.eu/data/niu.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Norfolk Island',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2302,
+ flag: 'https://restcountries.eu/data/nfk.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: "Korea (Democratic People's Republic of)",
+ capital: 'Pyongyang',
+ languages: ['Korean'],
+ population: 25281000,
+ flag: 'https://restcountries.eu/data/prk.svg',
+ currency: 'North Korean won'
+ },
+ {
+ name: 'Northern Mariana Islands',
+ capital: 'Saipan',
+ languages: ['English', 'Chamorro'],
+ population: 56940,
+ flag: 'https://restcountries.eu/data/mnp.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Norway',
+ capital: 'Oslo',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 5223256,
+ flag: 'https://restcountries.eu/data/nor.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Oman',
+ capital: 'Muscat',
+ languages: ['Arabic'],
+ population: 4420133,
+ flag: 'https://restcountries.eu/data/omn.svg',
+ currency: 'Omani rial'
+ },
+ {
+ name: 'Pakistan',
+ capital: 'Islamabad',
+ languages: ['English', 'Urdu'],
+ population: 194125062,
+ flag: 'https://restcountries.eu/data/pak.svg',
+ currency: 'Pakistani rupee'
+ },
+ {
+ name: 'Palau',
+ capital: 'Ngerulmud',
+ languages: ['English'],
+ population: 17950,
+ flag: 'https://restcountries.eu/data/plw.svg',
+ currency: '[E]'
+ },
+ {
+ name: 'Palestine, State of',
+ capital: 'Ramallah',
+ languages: ['Arabic'],
+ population: 4682467,
+ flag: 'https://restcountries.eu/data/pse.svg',
+ currency: 'Israeli new sheqel'
+ },
+ {
+ name: 'Panama',
+ capital: 'Panama City',
+ languages: ['Spanish'],
+ population: 3814672,
+ flag: 'https://restcountries.eu/data/pan.svg',
+ currency: 'Panamanian balboa'
+ },
+ {
+ name: 'Papua New Guinea',
+ capital: 'Port Moresby',
+ languages: ['English'],
+ population: 8083700,
+ flag: 'https://restcountries.eu/data/png.svg',
+ currency: 'Papua New Guinean kina'
+ },
+ {
+ name: 'Paraguay',
+ capital: 'AsunciĂłn',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 6854536,
+ flag: 'https://restcountries.eu/data/pry.svg',
+ currency: 'Paraguayan guaranĂ'
+ },
+ {
+ name: 'Peru',
+ capital: 'Lima',
+ languages: ['Spanish'],
+ population: 31488700,
+ flag: 'https://restcountries.eu/data/per.svg',
+ currency: 'Peruvian sol'
+ },
+ {
+ name: 'Philippines',
+ capital: 'Manila',
+ languages: ['English'],
+ population: 103279800,
+ flag: 'https://restcountries.eu/data/phl.svg',
+ currency: 'Philippine peso'
+ },
+ {
+ name: 'Pitcairn',
+ capital: 'Adamstown',
+ languages: ['English'],
+ population: 56,
+ flag: 'https://restcountries.eu/data/pcn.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Poland',
+ capital: 'Warsaw',
+ languages: ['Polish'],
+ population: 38437239,
+ flag: 'https://restcountries.eu/data/pol.svg',
+ currency: 'Polish zĆoty'
+ },
+ {
+ name: 'Portugal',
+ capital: 'Lisbon',
+ languages: ['Portuguese'],
+ population: 10374822,
+ flag: 'https://restcountries.eu/data/prt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Puerto Rico',
+ capital: 'San Juan',
+ languages: ['Spanish', 'English'],
+ population: 3474182,
+ flag: 'https://restcountries.eu/data/pri.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Qatar',
+ capital: 'Doha',
+ languages: ['Arabic'],
+ population: 2587564,
+ flag: 'https://restcountries.eu/data/qat.svg',
+ currency: 'Qatari riyal'
+ },
+ {
+ name: 'Republic of Kosovo',
+ capital: 'Pristina',
+ languages: ['Albanian', 'Serbian'],
+ population: 1733842,
+ flag: 'https://restcountries.eu/data/kos.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Réunion',
+ capital: 'Saint-Denis',
+ languages: ['French'],
+ population: 840974,
+ flag: 'https://restcountries.eu/data/reu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Romania',
+ capital: 'Bucharest',
+ languages: ['Romanian'],
+ population: 19861408,
+ flag: 'https://restcountries.eu/data/rou.svg',
+ currency: 'Romanian leu'
+ },
+ {
+ name: 'Russian Federation',
+ capital: 'Moscow',
+ languages: ['Russian'],
+ population: 146599183,
+ flag: 'https://restcountries.eu/data/rus.svg',
+ currency: 'Russian ruble'
+ },
+ {
+ name: 'Rwanda',
+ capital: 'Kigali',
+ languages: ['Kinyarwanda', 'English', 'French'],
+ population: 11553188,
+ flag: 'https://restcountries.eu/data/rwa.svg',
+ currency: 'Rwandan franc'
+ },
+ {
+ name: 'Saint Barthélemy',
+ capital: 'Gustavia',
+ languages: ['French'],
+ population: 9417,
+ flag: 'https://restcountries.eu/data/blm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Helena, Ascension and Tristan da Cunha',
+ capital: 'Jamestown',
+ languages: ['English'],
+ population: 4255,
+ flag: 'https://restcountries.eu/data/shn.svg',
+ currency: 'Saint Helena pound'
+ },
+ {
+ name: 'Saint Kitts and Nevis',
+ capital: 'Basseterre',
+ languages: ['English'],
+ population: 46204,
+ flag: 'https://restcountries.eu/data/kna.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Lucia',
+ capital: 'Castries',
+ languages: ['English'],
+ population: 186000,
+ flag: 'https://restcountries.eu/data/lca.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Martin (French part)',
+ capital: 'Marigot',
+ languages: ['English', 'French', 'Dutch'],
+ population: 36979,
+ flag: 'https://restcountries.eu/data/maf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Pierre and Miquelon',
+ capital: 'Saint-Pierre',
+ languages: ['French'],
+ population: 6069,
+ flag: 'https://restcountries.eu/data/spm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Vincent and the Grenadines',
+ capital: 'Kingstown',
+ languages: ['English'],
+ population: 109991,
+ flag: 'https://restcountries.eu/data/vct.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Samoa',
+ capital: 'Apia',
+ languages: ['Samoan', 'English'],
+ population: 194899,
+ flag: 'https://restcountries.eu/data/wsm.svg',
+ currency: 'Samoan tÄlÄ'
+ },
+ {
+ name: 'San Marino',
+ capital: 'City of San Marino',
+ languages: ['Italian'],
+ population: 33005,
+ flag: 'https://restcountries.eu/data/smr.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sao Tome and Principe',
+ capital: 'São Tomé',
+ languages: ['Portuguese'],
+ population: 187356,
+ flag: 'https://restcountries.eu/data/stp.svg',
+ currency: 'SĂŁo TomĂ© and PrĂncipe dobra'
+ },
+ {
+ name: 'Saudi Arabia',
+ capital: 'Riyadh',
+ languages: ['Arabic'],
+ population: 32248200,
+ flag: 'https://restcountries.eu/data/sau.svg',
+ currency: 'Saudi riyal'
+ },
+ {
+ name: 'Senegal',
+ capital: 'Dakar',
+ languages: ['French'],
+ population: 14799859,
+ flag: 'https://restcountries.eu/data/sen.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Serbia',
+ capital: 'Belgrade',
+ languages: ['Serbian'],
+ population: 7076372,
+ flag: 'https://restcountries.eu/data/srb.svg',
+ currency: 'Serbian dinar'
+ },
+ {
+ name: 'Seychelles',
+ capital: 'Victoria',
+ languages: ['French', 'English'],
+ population: 91400,
+ flag: 'https://restcountries.eu/data/syc.svg',
+ currency: 'Seychellois rupee'
+ },
+ {
+ name: 'Sierra Leone',
+ capital: 'Freetown',
+ languages: ['English'],
+ population: 7075641,
+ flag: 'https://restcountries.eu/data/sle.svg',
+ currency: 'Sierra Leonean leone'
+ },
+ {
+ name: 'Singapore',
+ capital: 'Singapore',
+ languages: ['English', 'Malay', 'Tamil', 'Chinese'],
+ population: 5535000,
+ flag: 'https://restcountries.eu/data/sgp.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Sint Maarten (Dutch part)',
+ capital: 'Philipsburg',
+ languages: ['Dutch', 'English'],
+ population: 38247,
+ flag: 'https://restcountries.eu/data/sxm.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Slovakia',
+ capital: 'Bratislava',
+ languages: ['Slovak'],
+ population: 5426252,
+ flag: 'https://restcountries.eu/data/svk.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Slovenia',
+ capital: 'Ljubljana',
+ languages: ['Slovene'],
+ population: 2064188,
+ flag: 'https://restcountries.eu/data/svn.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Solomon Islands',
+ capital: 'Honiara',
+ languages: ['English'],
+ population: 642000,
+ flag: 'https://restcountries.eu/data/slb.svg',
+ currency: 'Solomon Islands dollar'
+ },
+ {
+ name: 'Somalia',
+ capital: 'Mogadishu',
+ languages: ['Somali', 'Arabic'],
+ population: 11079000,
+ flag: 'https://restcountries.eu/data/som.svg',
+ currency: 'Somali shilling'
+ },
+ {
+ name: 'South Africa',
+ capital: 'Pretoria',
+ languages: [
+ 'Afrikaans',
+ 'English',
+ 'Southern Ndebele',
+ 'Southern Sotho',
+ 'Swati',
+ 'Tswana',
+ 'Tsonga',
+ 'Venda',
+ 'Xhosa',
+ 'Zulu'
+ ],
+ population: 55653654,
+ flag: 'https://restcountries.eu/data/zaf.svg',
+ currency: 'South African rand'
+ },
+ {
+ name: 'South Georgia and the South Sandwich Islands',
+ capital: 'King Edward Point',
+ languages: ['English'],
+ population: 30,
+ flag: 'https://restcountries.eu/data/sgs.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Korea (Republic of)',
+ capital: 'Seoul',
+ languages: ['Korean'],
+ population: 50801405,
+ flag: 'https://restcountries.eu/data/kor.svg',
+ currency: 'South Korean won'
+ },
+ {
+ name: 'South Sudan',
+ capital: 'Juba',
+ languages: ['English'],
+ population: 12131000,
+ flag: 'https://restcountries.eu/data/ssd.svg',
+ currency: 'South Sudanese pound'
+ },
+ {
+ name: 'Spain',
+ capital: 'Madrid',
+ languages: ['Spanish'],
+ population: 46438422,
+ flag: 'https://restcountries.eu/data/esp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sri Lanka',
+ capital: 'Colombo',
+ languages: ['Sinhalese', 'Tamil'],
+ population: 20966000,
+ flag: 'https://restcountries.eu/data/lka.svg',
+ currency: 'Sri Lankan rupee'
+ },
+ {
+ name: 'Sudan',
+ capital: 'Khartoum',
+ languages: ['Arabic', 'English'],
+ population: 39598700,
+ flag: 'https://restcountries.eu/data/sdn.svg',
+ currency: 'Sudanese pound'
+ },
+ {
+ name: 'Suriname',
+ capital: 'Paramaribo',
+ languages: ['Dutch'],
+ population: 541638,
+ flag: 'https://restcountries.eu/data/sur.svg',
+ currency: 'Surinamese dollar'
+ },
+ {
+ name: 'Svalbard and Jan Mayen',
+ capital: 'Longyearbyen',
+ languages: ['Norwegian'],
+ population: 2562,
+ flag: 'https://restcountries.eu/data/sjm.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Swaziland',
+ capital: 'Lobamba',
+ languages: ['English', 'Swati'],
+ population: 1132657,
+ flag: 'https://restcountries.eu/data/swz.svg',
+ currency: 'Swazi lilangeni'
+ },
+ {
+ name: 'Sweden',
+ capital: 'Stockholm',
+ languages: ['Swedish'],
+ population: 9894888,
+ flag: 'https://restcountries.eu/data/swe.svg',
+ currency: 'Swedish krona'
+ },
+ {
+ name: 'Switzerland',
+ capital: 'Bern',
+ languages: ['German', 'French', 'Italian'],
+ population: 8341600,
+ flag: 'https://restcountries.eu/data/che.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Syrian Arab Republic',
+ capital: 'Damascus',
+ languages: ['Arabic'],
+ population: 18564000,
+ flag: 'https://restcountries.eu/data/syr.svg',
+ currency: 'Syrian pound'
+ },
+ {
+ name: 'Taiwan',
+ capital: 'Taipei',
+ languages: ['Chinese'],
+ population: 23503349,
+ flag: 'https://restcountries.eu/data/twn.svg',
+ currency: 'New Taiwan dollar'
+ },
+ {
+ name: 'Tajikistan',
+ capital: 'Dushanbe',
+ languages: ['Tajik', 'Russian'],
+ population: 8593600,
+ flag: 'https://restcountries.eu/data/tjk.svg',
+ currency: 'Tajikistani somoni'
+ },
+ {
+ name: 'Tanzania, United Republic of',
+ capital: 'Dodoma',
+ languages: ['Swahili', 'English'],
+ population: 55155000,
+ flag: 'https://restcountries.eu/data/tza.svg',
+ currency: 'Tanzanian shilling'
+ },
+ {
+ name: 'Thailand',
+ capital: 'Bangkok',
+ languages: ['Thai'],
+ population: 65327652,
+ flag: 'https://restcountries.eu/data/tha.svg',
+ currency: 'Thai baht'
+ },
+ {
+ name: 'Timor-Leste',
+ capital: 'Dili',
+ languages: ['Portuguese'],
+ population: 1167242,
+ flag: 'https://restcountries.eu/data/tls.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Togo',
+ capital: 'Lomé',
+ languages: ['French'],
+ population: 7143000,
+ flag: 'https://restcountries.eu/data/tgo.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Tokelau',
+ capital: 'Fakaofo',
+ languages: ['English'],
+ population: 1411,
+ flag: 'https://restcountries.eu/data/tkl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Tonga',
+ capital: "Nuku'alofa",
+ languages: ['English', 'Tonga (Tonga Islands)'],
+ population: 103252,
+ flag: 'https://restcountries.eu/data/ton.svg',
+ currency: 'Tongan paʻanga'
+ },
+ {
+ name: 'Trinidad and Tobago',
+ capital: 'Port of Spain',
+ languages: ['English'],
+ population: 1349667,
+ flag: 'https://restcountries.eu/data/tto.svg',
+ currency: 'Trinidad and Tobago dollar'
+ },
+ {
+ name: 'Tunisia',
+ capital: 'Tunis',
+ languages: ['Arabic'],
+ population: 11154400,
+ flag: 'https://restcountries.eu/data/tun.svg',
+ currency: 'Tunisian dinar'
+ },
+ {
+ name: 'Turkey',
+ capital: 'Ankara',
+ languages: ['Turkish'],
+ population: 78741053,
+ flag: 'https://restcountries.eu/data/tur.svg',
+ currency: 'Turkish lira'
+ },
+ {
+ name: 'Turkmenistan',
+ capital: 'Ashgabat',
+ languages: ['Turkmen', 'Russian'],
+ population: 4751120,
+ flag: 'https://restcountries.eu/data/tkm.svg',
+ currency: 'Turkmenistan manat'
+ },
+ {
+ name: 'Turks and Caicos Islands',
+ capital: 'Cockburn Town',
+ languages: ['English'],
+ population: 31458,
+ flag: 'https://restcountries.eu/data/tca.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Tuvalu',
+ capital: 'Funafuti',
+ languages: ['English'],
+ population: 10640,
+ flag: 'https://restcountries.eu/data/tuv.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Uganda',
+ capital: 'Kampala',
+ languages: ['English', 'Swahili'],
+ population: 33860700,
+ flag: 'https://restcountries.eu/data/uga.svg',
+ currency: 'Ugandan shilling'
+ },
+ {
+ name: 'Ukraine',
+ capital: 'Kiev',
+ languages: ['Ukrainian'],
+ population: 42692393,
+ flag: 'https://restcountries.eu/data/ukr.svg',
+ currency: 'Ukrainian hryvnia'
+ },
+ {
+ name: 'United Arab Emirates',
+ capital: 'Abu Dhabi',
+ languages: ['Arabic'],
+ population: 9856000,
+ flag: 'https://restcountries.eu/data/are.svg',
+ currency: 'United Arab Emirates dirham'
+ },
+ {
+ name: 'United Kingdom of Great Britain and Northern Ireland',
+ capital: 'London',
+ languages: ['English'],
+ population: 65110000,
+ flag: 'https://restcountries.eu/data/gbr.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'United States of America',
+ capital: 'Washington, D.C.',
+ languages: ['English'],
+ population: 323947000,
+ flag: 'https://restcountries.eu/data/usa.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Uruguay',
+ capital: 'Montevideo',
+ languages: ['Spanish'],
+ population: 3480222,
+ flag: 'https://restcountries.eu/data/ury.svg',
+ currency: 'Uruguayan peso'
+ },
+ {
+ name: 'Uzbekistan',
+ capital: 'Tashkent',
+ languages: ['Uzbek', 'Russian'],
+ population: 31576400,
+ flag: 'https://restcountries.eu/data/uzb.svg',
+ currency: "Uzbekistani so'm"
+ },
+ {
+ name: 'Vanuatu',
+ capital: 'Port Vila',
+ languages: ['Bislama', 'English', 'French'],
+ population: 277500,
+ flag: 'https://restcountries.eu/data/vut.svg',
+ currency: 'Vanuatu vatu'
+ },
+ {
+ name: 'Venezuela (Bolivarian Republic of)',
+ capital: 'Caracas',
+ languages: ['Spanish'],
+ population: 31028700,
+ flag: 'https://restcountries.eu/data/ven.svg',
+ currency: 'Venezuelan bolĂvar'
+ },
+ {
+ name: 'Viet Nam',
+ capital: 'Hanoi',
+ languages: ['Vietnamese'],
+ population: 92700000,
+ flag: 'https://restcountries.eu/data/vnm.svg',
+ currency: 'Vietnamese Äá»ng'
+ },
+ {
+ name: 'Wallis and Futuna',
+ capital: 'Mata-Utu',
+ languages: ['French'],
+ population: 11750,
+ flag: 'https://restcountries.eu/data/wlf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'Western Sahara',
+ capital: 'El AaiĂșn',
+ languages: ['Spanish'],
+ population: 510713,
+ flag: 'https://restcountries.eu/data/esh.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Yemen',
+ capital: "Sana'a",
+ languages: ['Arabic'],
+ population: 27478000,
+ flag: 'https://restcountries.eu/data/yem.svg',
+ currency: 'Yemeni rial'
+ },
+ {
+ name: 'Zambia',
+ capital: 'Lusaka',
+ languages: ['English'],
+ population: 15933883,
+ flag: 'https://restcountries.eu/data/zmb.svg',
+ currency: 'Zambian kwacha'
+ },
+ {
+ name: 'Zimbabwe',
+ capital: 'Harare',
+ languages: ['English', 'Shona', 'Northern Ndebele'],
+ population: 14240168,
+ flag: 'https://restcountries.eu/data/zwe.svg',
+ currency: 'Botswana pula'
+ }
+]
diff --git a/10_Day/10_day_starter/index.html b/10_Day/10_day_starter/index.html
new file mode 100644
index 0000000..38b79a2
--- /dev/null
+++ b/10_Day/10_day_starter/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ 30DaysOfJavaScript:10 Day
+
+
+
+ 30DaysOfJavaScript:10 Day
+ Set and Map
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/10_Day/10_day_starter/scripts/main.js b/10_Day/10_day_starter/scripts/main.js
new file mode 100644
index 0000000..c6045c8
--- /dev/null
+++ b/10_Day/10_day_starter/scripts/main.js
@@ -0,0 +1,2 @@
+console.log(countries)
+alert('Open the console and check if the countries has been loaded')
\ No newline at end of file
diff --git a/11_Day/11_destructuring_and_spread.md b/11_Day/11_day_destructuring_and_spread.md
similarity index 98%
rename from 11_Day/11_destructuring_and_spread.md
rename to 11_Day/11_day_destructuring_and_spread.md
index 124302a..60234bd 100644
--- a/11_Day/11_destructuring_and_spread.md
+++ b/11_Day/11_day_destructuring_and_spread.md
@@ -13,7 +13,7 @@
-[<< Day 10](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/09_Day/09_day_Set_and_Map.md) | [Day 12>>](#)
+[<< Day 10](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/10_Day/10_day_Set_and_Map.md) | [Day 12>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/12_Day/12_day_regular_expressions.md)

@@ -688,6 +688,7 @@ const users = [
}
}
+```
đ CONGRATULATIONS ! đ
-[<< Day 10](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/09_Day/09_day_Set_and_Map.md) | [Day 12>>](#)
\ No newline at end of file
+[<< Day 10](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/10_Day/10_day_Set_and_Map.md) | [Day 12>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/12_Day/12_day_regular_expressions.md)
\ No newline at end of file
diff --git a/11_Day/11_day_starter/data/countries_data.js b/11_Day/11_day_starter/data/countries_data.js
new file mode 100644
index 0000000..92acddd
--- /dev/null
+++ b/11_Day/11_day_starter/data/countries_data.js
@@ -0,0 +1,2013 @@
+const countries = [
+ {
+ name: 'Afghanistan',
+ capital: 'Kabul',
+ languages: ['Pashto', 'Uzbek', 'Turkmen'],
+ population: 27657145,
+ flag: 'https://restcountries.eu/data/afg.svg',
+ currency: 'Afghan afghani'
+ },
+ {
+ name: 'Ă
land Islands',
+ capital: 'Mariehamn',
+ languages: ['Swedish'],
+ population: 28875,
+ flag: 'https://restcountries.eu/data/ala.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Albania',
+ capital: 'Tirana',
+ languages: ['Albanian'],
+ population: 2886026,
+ flag: 'https://restcountries.eu/data/alb.svg',
+ currency: 'Albanian lek'
+ },
+ {
+ name: 'Algeria',
+ capital: 'Algiers',
+ languages: ['Arabic'],
+ population: 40400000,
+ flag: 'https://restcountries.eu/data/dza.svg',
+ currency: 'Algerian dinar'
+ },
+ {
+ name: 'American Samoa',
+ capital: 'Pago Pago',
+ languages: ['English', 'Samoan'],
+ population: 57100,
+ flag: 'https://restcountries.eu/data/asm.svg',
+ currency: 'United State Dollar'
+ },
+ {
+ name: 'Andorra',
+ capital: 'Andorra la Vella',
+ languages: ['Catalan'],
+ population: 78014,
+ flag: 'https://restcountries.eu/data/and.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Angola',
+ capital: 'Luanda',
+ languages: ['Portuguese'],
+ population: 25868000,
+ flag: 'https://restcountries.eu/data/ago.svg',
+ currency: 'Angolan kwanza'
+ },
+ {
+ name: 'Anguilla',
+ capital: 'The Valley',
+ languages: ['English'],
+ population: 13452,
+ flag: 'https://restcountries.eu/data/aia.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Antarctica',
+ capital: '',
+ languages: ['English', 'Russian'],
+ population: 1000,
+ flag: 'https://restcountries.eu/data/ata.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Antigua and Barbuda',
+ capital: "Saint John's",
+ languages: ['English'],
+ population: 86295,
+ flag: 'https://restcountries.eu/data/atg.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Argentina',
+ capital: 'Buenos Aires',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 43590400,
+ flag: 'https://restcountries.eu/data/arg.svg',
+ currency: 'Argentine peso'
+ },
+ {
+ name: 'Armenia',
+ capital: 'Yerevan',
+ languages: ['Armenian', 'Russian'],
+ population: 2994400,
+ flag: 'https://restcountries.eu/data/arm.svg',
+ currency: 'Armenian dram'
+ },
+ {
+ name: 'Aruba',
+ capital: 'Oranjestad',
+ languages: ['Dutch', '(Eastern) Punjabi'],
+ population: 107394,
+ flag: 'https://restcountries.eu/data/abw.svg',
+ currency: 'Aruban florin'
+ },
+ {
+ name: 'Australia',
+ capital: 'Canberra',
+ languages: ['English'],
+ population: 24117360,
+ flag: 'https://restcountries.eu/data/aus.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Austria',
+ capital: 'Vienna',
+ languages: ['German'],
+ population: 8725931,
+ flag: 'https://restcountries.eu/data/aut.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Azerbaijan',
+ capital: 'Baku',
+ languages: ['Azerbaijani'],
+ population: 9730500,
+ flag: 'https://restcountries.eu/data/aze.svg',
+ currency: 'Azerbaijani manat'
+ },
+ {
+ name: 'Bahamas',
+ capital: 'Nassau',
+ languages: ['English'],
+ population: 378040,
+ flag: 'https://restcountries.eu/data/bhs.svg',
+ currency: 'Bahamian dollar'
+ },
+ {
+ name: 'Bahrain',
+ capital: 'Manama',
+ languages: ['Arabic'],
+ population: 1404900,
+ flag: 'https://restcountries.eu/data/bhr.svg',
+ currency: 'Bahraini dinar'
+ },
+ {
+ name: 'Bangladesh',
+ capital: 'Dhaka',
+ languages: ['Bengali'],
+ population: 161006790,
+ flag: 'https://restcountries.eu/data/bgd.svg',
+ currency: 'Bangladeshi taka'
+ },
+ {
+ name: 'Barbados',
+ capital: 'Bridgetown',
+ languages: ['English'],
+ population: 285000,
+ flag: 'https://restcountries.eu/data/brb.svg',
+ currency: 'Barbadian dollar'
+ },
+ {
+ name: 'Belarus',
+ capital: 'Minsk',
+ languages: ['Belarusian', 'Russian'],
+ population: 9498700,
+ flag: 'https://restcountries.eu/data/blr.svg',
+ currency: 'New Belarusian ruble'
+ },
+ {
+ name: 'Belgium',
+ capital: 'Brussels',
+ languages: ['Dutch', 'French', 'German'],
+ population: 11319511,
+ flag: 'https://restcountries.eu/data/bel.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Belize',
+ capital: 'Belmopan',
+ languages: ['English', 'Spanish'],
+ population: 370300,
+ flag: 'https://restcountries.eu/data/blz.svg',
+ currency: 'Belize dollar'
+ },
+ {
+ name: 'Benin',
+ capital: 'Porto-Novo',
+ languages: ['French'],
+ population: 10653654,
+ flag: 'https://restcountries.eu/data/ben.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Bermuda',
+ capital: 'Hamilton',
+ languages: ['English'],
+ population: 61954,
+ flag: 'https://restcountries.eu/data/bmu.svg',
+ currency: 'Bermudian dollar'
+ },
+ {
+ name: 'Bhutan',
+ capital: 'Thimphu',
+ languages: ['Dzongkha'],
+ population: 775620,
+ flag: 'https://restcountries.eu/data/btn.svg',
+ currency: 'Bhutanese ngultrum'
+ },
+ {
+ name: 'Bolivia (Plurinational State of)',
+ capital: 'Sucre',
+ languages: ['Spanish', 'Aymara', 'Quechua'],
+ population: 10985059,
+ flag: 'https://restcountries.eu/data/bol.svg',
+ currency: 'Bolivian boliviano'
+ },
+ {
+ name: 'Bonaire, Sint Eustatius and Saba',
+ capital: 'Kralendijk',
+ languages: ['Dutch'],
+ population: 17408,
+ flag: 'https://restcountries.eu/data/bes.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Bosnia and Herzegovina',
+ capital: 'Sarajevo',
+ languages: ['Bosnian', 'Croatian', 'Serbian'],
+ population: 3531159,
+ flag: 'https://restcountries.eu/data/bih.svg',
+ currency: 'Bosnia and Herzegovina convertible mark'
+ },
+ {
+ name: 'Botswana',
+ capital: 'Gaborone',
+ languages: ['English', 'Tswana'],
+ population: 2141206,
+ flag: 'https://restcountries.eu/data/bwa.svg',
+ currency: 'Botswana pula'
+ },
+ {
+ name: 'Bouvet Island',
+ capital: '',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/bvt.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Brazil',
+ capital: 'BrasĂlia',
+ languages: ['Portuguese'],
+ population: 206135893,
+ flag: 'https://restcountries.eu/data/bra.svg',
+ currency: 'Brazilian real'
+ },
+ {
+ name: 'British Indian Ocean Territory',
+ capital: 'Diego Garcia',
+ languages: ['English'],
+ population: 3000,
+ flag: 'https://restcountries.eu/data/iot.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'United States Minor Outlying Islands',
+ capital: '',
+ languages: ['English'],
+ population: 300,
+ flag: 'https://restcountries.eu/data/umi.svg',
+ currency: 'United States Dollar'
+ },
+ {
+ name: 'Virgin Islands (British)',
+ capital: 'Road Town',
+ languages: ['English'],
+ population: 28514,
+ flag: 'https://restcountries.eu/data/vgb.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Virgin Islands (U.S.)',
+ capital: 'Charlotte Amalie',
+ languages: ['English'],
+ population: 114743,
+ flag: 'https://restcountries.eu/data/vir.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Brunei Darussalam',
+ capital: 'Bandar Seri Begawan',
+ languages: ['Malay'],
+ population: 411900,
+ flag: 'https://restcountries.eu/data/brn.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Bulgaria',
+ capital: 'Sofia',
+ languages: ['Bulgarian'],
+ population: 7153784,
+ flag: 'https://restcountries.eu/data/bgr.svg',
+ currency: 'Bulgarian lev'
+ },
+ {
+ name: 'Burkina Faso',
+ capital: 'Ouagadougou',
+ languages: ['French', 'Fula'],
+ population: 19034397,
+ flag: 'https://restcountries.eu/data/bfa.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Burundi',
+ capital: 'Bujumbura',
+ languages: ['French', 'Kirundi'],
+ population: 10114505,
+ flag: 'https://restcountries.eu/data/bdi.svg',
+ currency: 'Burundian franc'
+ },
+ {
+ name: 'Cambodia',
+ capital: 'Phnom Penh',
+ languages: ['Khmer'],
+ population: 15626444,
+ flag: 'https://restcountries.eu/data/khm.svg',
+ currency: 'Cambodian riel'
+ },
+ {
+ name: 'Cameroon',
+ capital: 'Yaoundé',
+ languages: ['English', 'French'],
+ population: 22709892,
+ flag: 'https://restcountries.eu/data/cmr.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Canada',
+ capital: 'Ottawa',
+ languages: ['English', 'French'],
+ population: 36155487,
+ flag: 'https://restcountries.eu/data/can.svg',
+ currency: 'Canadian dollar'
+ },
+ {
+ name: 'Cabo Verde',
+ capital: 'Praia',
+ languages: ['Portuguese'],
+ population: 531239,
+ flag: 'https://restcountries.eu/data/cpv.svg',
+ currency: 'Cape Verdean escudo'
+ },
+ {
+ name: 'Cayman Islands',
+ capital: 'George Town',
+ languages: ['English'],
+ population: 58238,
+ flag: 'https://restcountries.eu/data/cym.svg',
+ currency: 'Cayman Islands dollar'
+ },
+ {
+ name: 'Central African Republic',
+ capital: 'Bangui',
+ languages: ['French', 'Sango'],
+ population: 4998000,
+ flag: 'https://restcountries.eu/data/caf.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chad',
+ capital: "N'Djamena",
+ languages: ['French', 'Arabic'],
+ population: 14497000,
+ flag: 'https://restcountries.eu/data/tcd.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chile',
+ capital: 'Santiago',
+ languages: ['Spanish'],
+ population: 18191900,
+ flag: 'https://restcountries.eu/data/chl.svg',
+ currency: 'Chilean peso'
+ },
+ {
+ name: 'China',
+ capital: 'Beijing',
+ languages: ['Chinese'],
+ population: 1377422166,
+ flag: 'https://restcountries.eu/data/chn.svg',
+ currency: 'Chinese yuan'
+ },
+ {
+ name: 'Christmas Island',
+ capital: 'Flying Fish Cove',
+ languages: ['English'],
+ population: 2072,
+ flag: 'https://restcountries.eu/data/cxr.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Cocos (Keeling) Islands',
+ capital: 'West Island',
+ languages: ['English'],
+ population: 550,
+ flag: 'https://restcountries.eu/data/cck.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Colombia',
+ capital: 'BogotĂĄ',
+ languages: ['Spanish'],
+ population: 48759958,
+ flag: 'https://restcountries.eu/data/col.svg',
+ currency: 'Colombian peso'
+ },
+ {
+ name: 'Comoros',
+ capital: 'Moroni',
+ languages: ['Arabic', 'French'],
+ population: 806153,
+ flag: 'https://restcountries.eu/data/com.svg',
+ currency: 'Comorian franc'
+ },
+ {
+ name: 'Congo',
+ capital: 'Brazzaville',
+ languages: ['French', 'Lingala'],
+ population: 4741000,
+ flag: 'https://restcountries.eu/data/cog.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Congo (Democratic Republic of the)',
+ capital: 'Kinshasa',
+ languages: ['French', 'Lingala', 'Kongo', 'Swahili', 'Luba-Katanga'],
+ population: 85026000,
+ flag: 'https://restcountries.eu/data/cod.svg',
+ currency: 'Congolese franc'
+ },
+ {
+ name: 'Cook Islands',
+ capital: 'Avarua',
+ languages: ['English'],
+ population: 18100,
+ flag: 'https://restcountries.eu/data/cok.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Costa Rica',
+ capital: 'San José',
+ languages: ['Spanish'],
+ population: 4890379,
+ flag: 'https://restcountries.eu/data/cri.svg',
+ currency: 'Costa Rican colĂłn'
+ },
+ {
+ name: 'Croatia',
+ capital: 'Zagreb',
+ languages: ['Croatian'],
+ population: 4190669,
+ flag: 'https://restcountries.eu/data/hrv.svg',
+ currency: 'Croatian kuna'
+ },
+ {
+ name: 'Cuba',
+ capital: 'Havana',
+ languages: ['Spanish'],
+ population: 11239004,
+ flag: 'https://restcountries.eu/data/cub.svg',
+ currency: 'Cuban convertible peso'
+ },
+ {
+ name: 'Curaçao',
+ capital: 'Willemstad',
+ languages: ['Dutch', '(Eastern) Punjabi', 'English'],
+ population: 154843,
+ flag: 'https://restcountries.eu/data/cuw.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Cyprus',
+ capital: 'Nicosia',
+ languages: ['Greek (modern)', 'Turkish', 'Armenian'],
+ population: 847000,
+ flag: 'https://restcountries.eu/data/cyp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Czech Republic',
+ capital: 'Prague',
+ languages: ['Czech', 'Slovak'],
+ population: 10558524,
+ flag: 'https://restcountries.eu/data/cze.svg',
+ currency: 'Czech koruna'
+ },
+ {
+ name: 'Denmark',
+ capital: 'Copenhagen',
+ languages: ['Danish'],
+ population: 5717014,
+ flag: 'https://restcountries.eu/data/dnk.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Djibouti',
+ capital: 'Djibouti',
+ languages: ['French', 'Arabic'],
+ population: 900000,
+ flag: 'https://restcountries.eu/data/dji.svg',
+ currency: 'Djiboutian franc'
+ },
+ {
+ name: 'Dominica',
+ capital: 'Roseau',
+ languages: ['English'],
+ population: 71293,
+ flag: 'https://restcountries.eu/data/dma.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Dominican Republic',
+ capital: 'Santo Domingo',
+ languages: ['Spanish'],
+ population: 10075045,
+ flag: 'https://restcountries.eu/data/dom.svg',
+ currency: 'Dominican peso'
+ },
+ {
+ name: 'Ecuador',
+ capital: 'Quito',
+ languages: ['Spanish'],
+ population: 16545799,
+ flag: 'https://restcountries.eu/data/ecu.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Egypt',
+ capital: 'Cairo',
+ languages: ['Arabic'],
+ population: 91290000,
+ flag: 'https://restcountries.eu/data/egy.svg',
+ currency: 'Egyptian pound'
+ },
+ {
+ name: 'El Salvador',
+ capital: 'San Salvador',
+ languages: ['Spanish'],
+ population: 6520675,
+ flag: 'https://restcountries.eu/data/slv.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Equatorial Guinea',
+ capital: 'Malabo',
+ languages: ['Spanish', 'French'],
+ population: 1222442,
+ flag: 'https://restcountries.eu/data/gnq.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Eritrea',
+ capital: 'Asmara',
+ languages: ['Tigrinya', 'Arabic', 'English'],
+ population: 5352000,
+ flag: 'https://restcountries.eu/data/eri.svg',
+ currency: 'Eritrean nakfa'
+ },
+ {
+ name: 'Estonia',
+ capital: 'Tallinn',
+ languages: ['Estonian'],
+ population: 1315944,
+ flag: 'https://restcountries.eu/data/est.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ethiopia',
+ capital: 'Addis Ababa',
+ languages: ['Amharic'],
+ population: 92206005,
+ flag: 'https://restcountries.eu/data/eth.svg',
+ currency: 'Ethiopian birr'
+ },
+ {
+ name: 'Falkland Islands (Malvinas)',
+ capital: 'Stanley',
+ languages: ['English'],
+ population: 2563,
+ flag: 'https://restcountries.eu/data/flk.svg',
+ currency: 'Falkland Islands pound'
+ },
+ {
+ name: 'Faroe Islands',
+ capital: 'TĂłrshavn',
+ languages: ['Faroese'],
+ population: 49376,
+ flag: 'https://restcountries.eu/data/fro.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Fiji',
+ capital: 'Suva',
+ languages: ['English', 'Fijian', 'Hindi', 'Urdu'],
+ population: 867000,
+ flag: 'https://restcountries.eu/data/fji.svg',
+ currency: 'Fijian dollar'
+ },
+ {
+ name: 'Finland',
+ capital: 'Helsinki',
+ languages: ['Finnish', 'Swedish'],
+ population: 5491817,
+ flag: 'https://restcountries.eu/data/fin.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'France',
+ capital: 'Paris',
+ languages: ['French'],
+ population: 66710000,
+ flag: 'https://restcountries.eu/data/fra.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Guiana',
+ capital: 'Cayenne',
+ languages: ['French'],
+ population: 254541,
+ flag: 'https://restcountries.eu/data/guf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Polynesia',
+ capital: 'PapeetÄ',
+ languages: ['French'],
+ population: 271800,
+ flag: 'https://restcountries.eu/data/pyf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'French Southern Territories',
+ capital: 'Port-aux-Français',
+ languages: ['French'],
+ population: 140,
+ flag: 'https://restcountries.eu/data/atf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Gabon',
+ capital: 'Libreville',
+ languages: ['French'],
+ population: 1802278,
+ flag: 'https://restcountries.eu/data/gab.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Gambia',
+ capital: 'Banjul',
+ languages: ['English'],
+ population: 1882450,
+ flag: 'https://restcountries.eu/data/gmb.svg',
+ currency: 'Gambian dalasi'
+ },
+ {
+ name: 'Georgia',
+ capital: 'Tbilisi',
+ languages: ['Georgian'],
+ population: 3720400,
+ flag: 'https://restcountries.eu/data/geo.svg',
+ currency: 'Georgian Lari'
+ },
+ {
+ name: 'Germany',
+ capital: 'Berlin',
+ languages: ['German'],
+ population: 81770900,
+ flag: 'https://restcountries.eu/data/deu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ghana',
+ capital: 'Accra',
+ languages: ['English'],
+ population: 27670174,
+ flag: 'https://restcountries.eu/data/gha.svg',
+ currency: 'Ghanaian cedi'
+ },
+ {
+ name: 'Gibraltar',
+ capital: 'Gibraltar',
+ languages: ['English'],
+ population: 33140,
+ flag: 'https://restcountries.eu/data/gib.svg',
+ currency: 'Gibraltar pound'
+ },
+ {
+ name: 'Greece',
+ capital: 'Athens',
+ languages: ['Greek (modern)'],
+ population: 10858018,
+ flag: 'https://restcountries.eu/data/grc.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Greenland',
+ capital: 'Nuuk',
+ languages: ['Kalaallisut'],
+ population: 55847,
+ flag: 'https://restcountries.eu/data/grl.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Grenada',
+ capital: "St. George's",
+ languages: ['English'],
+ population: 103328,
+ flag: 'https://restcountries.eu/data/grd.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Guadeloupe',
+ capital: 'Basse-Terre',
+ languages: ['French'],
+ population: 400132,
+ flag: 'https://restcountries.eu/data/glp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Guam',
+ capital: 'HagÄtña',
+ languages: ['English', 'Chamorro', 'Spanish'],
+ population: 184200,
+ flag: 'https://restcountries.eu/data/gum.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Guatemala',
+ capital: 'Guatemala City',
+ languages: ['Spanish'],
+ population: 16176133,
+ flag: 'https://restcountries.eu/data/gtm.svg',
+ currency: 'Guatemalan quetzal'
+ },
+ {
+ name: 'Guernsey',
+ capital: 'St. Peter Port',
+ languages: ['English', 'French'],
+ population: 62999,
+ flag: 'https://restcountries.eu/data/ggy.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Guinea',
+ capital: 'Conakry',
+ languages: ['French', 'Fula'],
+ population: 12947000,
+ flag: 'https://restcountries.eu/data/gin.svg',
+ currency: 'Guinean franc'
+ },
+ {
+ name: 'Guinea-Bissau',
+ capital: 'Bissau',
+ languages: ['Portuguese'],
+ population: 1547777,
+ flag: 'https://restcountries.eu/data/gnb.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Guyana',
+ capital: 'Georgetown',
+ languages: ['English'],
+ population: 746900,
+ flag: 'https://restcountries.eu/data/guy.svg',
+ currency: 'Guyanese dollar'
+ },
+ {
+ name: 'Haiti',
+ capital: 'Port-au-Prince',
+ languages: ['French', 'Haitian'],
+ population: 11078033,
+ flag: 'https://restcountries.eu/data/hti.svg',
+ currency: 'Haitian gourde'
+ },
+ {
+ name: 'Heard Island and McDonald Islands',
+ capital: '',
+ languages: ['English'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/hmd.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Holy See',
+ capital: 'Rome',
+ languages: ['Latin', 'Italian', 'French', 'German'],
+ population: 451,
+ flag: 'https://restcountries.eu/data/vat.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Honduras',
+ capital: 'Tegucigalpa',
+ languages: ['Spanish'],
+ population: 8576532,
+ flag: 'https://restcountries.eu/data/hnd.svg',
+ currency: 'Honduran lempira'
+ },
+ {
+ name: 'Hong Kong',
+ capital: 'City of Victoria',
+ languages: ['English', 'Chinese'],
+ population: 7324300,
+ flag: 'https://restcountries.eu/data/hkg.svg',
+ currency: 'Hong Kong dollar'
+ },
+ {
+ name: 'Hungary',
+ capital: 'Budapest',
+ languages: ['Hungarian'],
+ population: 9823000,
+ flag: 'https://restcountries.eu/data/hun.svg',
+ currency: 'Hungarian forint'
+ },
+ {
+ name: 'Iceland',
+ capital: 'ReykjavĂk',
+ languages: ['Icelandic'],
+ population: 334300,
+ flag: 'https://restcountries.eu/data/isl.svg',
+ currency: 'Icelandic krĂłna'
+ },
+ {
+ name: 'India',
+ capital: 'New Delhi',
+ languages: ['Hindi', 'English'],
+ population: 1295210000,
+ flag: 'https://restcountries.eu/data/ind.svg',
+ currency: 'Indian rupee'
+ },
+ {
+ name: 'Indonesia',
+ capital: 'Jakarta',
+ languages: ['Indonesian'],
+ population: 258705000,
+ flag: 'https://restcountries.eu/data/idn.svg',
+ currency: 'Indonesian rupiah'
+ },
+ {
+ name: "CĂŽte d'Ivoire",
+ capital: 'Yamoussoukro',
+ languages: ['French'],
+ population: 22671331,
+ flag: 'https://restcountries.eu/data/civ.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Iran (Islamic Republic of)',
+ capital: 'Tehran',
+ languages: ['Persian (Farsi)'],
+ population: 79369900,
+ flag: 'https://restcountries.eu/data/irn.svg',
+ currency: 'Iranian rial'
+ },
+ {
+ name: 'Iraq',
+ capital: 'Baghdad',
+ languages: ['Arabic', 'Kurdish'],
+ population: 37883543,
+ flag: 'https://restcountries.eu/data/irq.svg',
+ currency: 'Iraqi dinar'
+ },
+ {
+ name: 'Ireland',
+ capital: 'Dublin',
+ languages: ['Irish', 'English'],
+ population: 6378000,
+ flag: 'https://restcountries.eu/data/irl.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Isle of Man',
+ capital: 'Douglas',
+ languages: ['English', 'Manx'],
+ population: 84497,
+ flag: 'https://restcountries.eu/data/imn.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Israel',
+ capital: 'Jerusalem',
+ languages: ['Hebrew (modern)', 'Arabic'],
+ population: 8527400,
+ flag: 'https://restcountries.eu/data/isr.svg',
+ currency: 'Israeli new shekel'
+ },
+ {
+ name: 'Italy',
+ capital: 'Rome',
+ languages: ['Italian'],
+ population: 60665551,
+ flag: 'https://restcountries.eu/data/ita.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Jamaica',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2723246,
+ flag: 'https://restcountries.eu/data/jam.svg',
+ currency: 'Jamaican dollar'
+ },
+ {
+ name: 'Japan',
+ capital: 'Tokyo',
+ languages: ['Japanese'],
+ population: 126960000,
+ flag: 'https://restcountries.eu/data/jpn.svg',
+ currency: 'Japanese yen'
+ },
+ {
+ name: 'Jersey',
+ capital: 'Saint Helier',
+ languages: ['English', 'French'],
+ population: 100800,
+ flag: 'https://restcountries.eu/data/jey.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Jordan',
+ capital: 'Amman',
+ languages: ['Arabic'],
+ population: 9531712,
+ flag: 'https://restcountries.eu/data/jor.svg',
+ currency: 'Jordanian dinar'
+ },
+ {
+ name: 'Kazakhstan',
+ capital: 'Astana',
+ languages: ['Kazakh', 'Russian'],
+ population: 17753200,
+ flag: 'https://restcountries.eu/data/kaz.svg',
+ currency: 'Kazakhstani tenge'
+ },
+ {
+ name: 'Kenya',
+ capital: 'Nairobi',
+ languages: ['English', 'Swahili'],
+ population: 47251000,
+ flag: 'https://restcountries.eu/data/ken.svg',
+ currency: 'Kenyan shilling'
+ },
+ {
+ name: 'Kiribati',
+ capital: 'South Tarawa',
+ languages: ['English'],
+ population: 113400,
+ flag: 'https://restcountries.eu/data/kir.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Kuwait',
+ capital: 'Kuwait City',
+ languages: ['Arabic'],
+ population: 4183658,
+ flag: 'https://restcountries.eu/data/kwt.svg',
+ currency: 'Kuwaiti dinar'
+ },
+ {
+ name: 'Kyrgyzstan',
+ capital: 'Bishkek',
+ languages: ['Kyrgyz', 'Russian'],
+ population: 6047800,
+ flag: 'https://restcountries.eu/data/kgz.svg',
+ currency: 'Kyrgyzstani som'
+ },
+ {
+ name: "Lao People's Democratic Republic",
+ capital: 'Vientiane',
+ languages: ['Lao'],
+ population: 6492400,
+ flag: 'https://restcountries.eu/data/lao.svg',
+ currency: 'Lao kip'
+ },
+ {
+ name: 'Latvia',
+ capital: 'Riga',
+ languages: ['Latvian'],
+ population: 1961600,
+ flag: 'https://restcountries.eu/data/lva.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Lebanon',
+ capital: 'Beirut',
+ languages: ['Arabic', 'French'],
+ population: 5988000,
+ flag: 'https://restcountries.eu/data/lbn.svg',
+ currency: 'Lebanese pound'
+ },
+ {
+ name: 'Lesotho',
+ capital: 'Maseru',
+ languages: ['English', 'Southern Sotho'],
+ population: 1894194,
+ flag: 'https://restcountries.eu/data/lso.svg',
+ currency: 'Lesotho loti'
+ },
+ {
+ name: 'Liberia',
+ capital: 'Monrovia',
+ languages: ['English'],
+ population: 4615000,
+ flag: 'https://restcountries.eu/data/lbr.svg',
+ currency: 'Liberian dollar'
+ },
+ {
+ name: 'Libya',
+ capital: 'Tripoli',
+ languages: ['Arabic'],
+ population: 6385000,
+ flag: 'https://restcountries.eu/data/lby.svg',
+ currency: 'Libyan dinar'
+ },
+ {
+ name: 'Liechtenstein',
+ capital: 'Vaduz',
+ languages: ['German'],
+ population: 37623,
+ flag: 'https://restcountries.eu/data/lie.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Lithuania',
+ capital: 'Vilnius',
+ languages: ['Lithuanian'],
+ population: 2872294,
+ flag: 'https://restcountries.eu/data/ltu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Luxembourg',
+ capital: 'Luxembourg',
+ languages: ['French', 'German', 'Luxembourgish'],
+ population: 576200,
+ flag: 'https://restcountries.eu/data/lux.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Macao',
+ capital: '',
+ languages: ['Chinese', 'Portuguese'],
+ population: 649100,
+ flag: 'https://restcountries.eu/data/mac.svg',
+ currency: 'Macanese pataca'
+ },
+ {
+ name: 'Macedonia (the former Yugoslav Republic of)',
+ capital: 'Skopje',
+ languages: ['Macedonian'],
+ population: 2058539,
+ flag: 'https://restcountries.eu/data/mkd.svg',
+ currency: 'Macedonian denar'
+ },
+ {
+ name: 'Madagascar',
+ capital: 'Antananarivo',
+ languages: ['French', 'Malagasy'],
+ population: 22434363,
+ flag: 'https://restcountries.eu/data/mdg.svg',
+ currency: 'Malagasy ariary'
+ },
+ {
+ name: 'Malawi',
+ capital: 'Lilongwe',
+ languages: ['English', 'Chichewa'],
+ population: 16832910,
+ flag: 'https://restcountries.eu/data/mwi.svg',
+ currency: 'Malawian kwacha'
+ },
+ {
+ name: 'Malaysia',
+ capital: 'Kuala Lumpur',
+ languages: ['Malaysian'],
+ population: 31405416,
+ flag: 'https://restcountries.eu/data/mys.svg',
+ currency: 'Malaysian ringgit'
+ },
+ {
+ name: 'Maldives',
+ capital: 'Malé',
+ languages: ['Divehi'],
+ population: 344023,
+ flag: 'https://restcountries.eu/data/mdv.svg',
+ currency: 'Maldivian rufiyaa'
+ },
+ {
+ name: 'Mali',
+ capital: 'Bamako',
+ languages: ['French'],
+ population: 18135000,
+ flag: 'https://restcountries.eu/data/mli.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Malta',
+ capital: 'Valletta',
+ languages: ['Maltese', 'English'],
+ population: 425384,
+ flag: 'https://restcountries.eu/data/mlt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Marshall Islands',
+ capital: 'Majuro',
+ languages: ['English', 'Marshallese'],
+ population: 54880,
+ flag: 'https://restcountries.eu/data/mhl.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Martinique',
+ capital: 'Fort-de-France',
+ languages: ['French'],
+ population: 378243,
+ flag: 'https://restcountries.eu/data/mtq.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mauritania',
+ capital: 'Nouakchott',
+ languages: ['Arabic'],
+ population: 3718678,
+ flag: 'https://restcountries.eu/data/mrt.svg',
+ currency: 'Mauritanian ouguiya'
+ },
+ {
+ name: 'Mauritius',
+ capital: 'Port Louis',
+ languages: ['English'],
+ population: 1262879,
+ flag: 'https://restcountries.eu/data/mus.svg',
+ currency: 'Mauritian rupee'
+ },
+ {
+ name: 'Mayotte',
+ capital: 'Mamoudzou',
+ languages: ['French'],
+ population: 226915,
+ flag: 'https://restcountries.eu/data/myt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mexico',
+ capital: 'Mexico City',
+ languages: ['Spanish'],
+ population: 122273473,
+ flag: 'https://restcountries.eu/data/mex.svg',
+ currency: 'Mexican peso'
+ },
+ {
+ name: 'Micronesia (Federated States of)',
+ capital: 'Palikir',
+ languages: ['English'],
+ population: 102800,
+ flag: 'https://restcountries.eu/data/fsm.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Moldova (Republic of)',
+ capital: 'ChiÈinÄu',
+ languages: ['Romanian'],
+ population: 3553100,
+ flag: 'https://restcountries.eu/data/mda.svg',
+ currency: 'Moldovan leu'
+ },
+ {
+ name: 'Monaco',
+ capital: 'Monaco',
+ languages: ['French'],
+ population: 38400,
+ flag: 'https://restcountries.eu/data/mco.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mongolia',
+ capital: 'Ulan Bator',
+ languages: ['Mongolian'],
+ population: 3093100,
+ flag: 'https://restcountries.eu/data/mng.svg',
+ currency: 'Mongolian tögrög'
+ },
+ {
+ name: 'Montenegro',
+ capital: 'Podgorica',
+ languages: ['Serbian', 'Bosnian', 'Albanian', 'Croatian'],
+ population: 621810,
+ flag: 'https://restcountries.eu/data/mne.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Montserrat',
+ capital: 'Plymouth',
+ languages: ['English'],
+ population: 4922,
+ flag: 'https://restcountries.eu/data/msr.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Morocco',
+ capital: 'Rabat',
+ languages: ['Arabic'],
+ population: 33337529,
+ flag: 'https://restcountries.eu/data/mar.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Mozambique',
+ capital: 'Maputo',
+ languages: ['Portuguese'],
+ population: 26423700,
+ flag: 'https://restcountries.eu/data/moz.svg',
+ currency: 'Mozambican metical'
+ },
+ {
+ name: 'Myanmar',
+ capital: 'Naypyidaw',
+ languages: ['Burmese'],
+ population: 51419420,
+ flag: 'https://restcountries.eu/data/mmr.svg',
+ currency: 'Burmese kyat'
+ },
+ {
+ name: 'Namibia',
+ capital: 'Windhoek',
+ languages: ['English', 'Afrikaans'],
+ population: 2324388,
+ flag: 'https://restcountries.eu/data/nam.svg',
+ currency: 'Namibian dollar'
+ },
+ {
+ name: 'Nauru',
+ capital: 'Yaren',
+ languages: ['English', 'Nauruan'],
+ population: 10084,
+ flag: 'https://restcountries.eu/data/nru.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Nepal',
+ capital: 'Kathmandu',
+ languages: ['Nepali'],
+ population: 28431500,
+ flag: 'https://restcountries.eu/data/npl.svg',
+ currency: 'Nepalese rupee'
+ },
+ {
+ name: 'Netherlands',
+ capital: 'Amsterdam',
+ languages: ['Dutch'],
+ population: 17019800,
+ flag: 'https://restcountries.eu/data/nld.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'New Caledonia',
+ capital: 'Nouméa',
+ languages: ['French'],
+ population: 268767,
+ flag: 'https://restcountries.eu/data/ncl.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'New Zealand',
+ capital: 'Wellington',
+ languages: ['English', 'MÄori'],
+ population: 4697854,
+ flag: 'https://restcountries.eu/data/nzl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Nicaragua',
+ capital: 'Managua',
+ languages: ['Spanish'],
+ population: 6262703,
+ flag: 'https://restcountries.eu/data/nic.svg',
+ currency: 'Nicaraguan cĂłrdoba'
+ },
+ {
+ name: 'Niger',
+ capital: 'Niamey',
+ languages: ['French'],
+ population: 20715000,
+ flag: 'https://restcountries.eu/data/ner.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Nigeria',
+ capital: 'Abuja',
+ languages: ['English'],
+ population: 186988000,
+ flag: 'https://restcountries.eu/data/nga.svg',
+ currency: 'Nigerian naira'
+ },
+ {
+ name: 'Niue',
+ capital: 'Alofi',
+ languages: ['English'],
+ population: 1470,
+ flag: 'https://restcountries.eu/data/niu.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Norfolk Island',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2302,
+ flag: 'https://restcountries.eu/data/nfk.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: "Korea (Democratic People's Republic of)",
+ capital: 'Pyongyang',
+ languages: ['Korean'],
+ population: 25281000,
+ flag: 'https://restcountries.eu/data/prk.svg',
+ currency: 'North Korean won'
+ },
+ {
+ name: 'Northern Mariana Islands',
+ capital: 'Saipan',
+ languages: ['English', 'Chamorro'],
+ population: 56940,
+ flag: 'https://restcountries.eu/data/mnp.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Norway',
+ capital: 'Oslo',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 5223256,
+ flag: 'https://restcountries.eu/data/nor.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Oman',
+ capital: 'Muscat',
+ languages: ['Arabic'],
+ population: 4420133,
+ flag: 'https://restcountries.eu/data/omn.svg',
+ currency: 'Omani rial'
+ },
+ {
+ name: 'Pakistan',
+ capital: 'Islamabad',
+ languages: ['English', 'Urdu'],
+ population: 194125062,
+ flag: 'https://restcountries.eu/data/pak.svg',
+ currency: 'Pakistani rupee'
+ },
+ {
+ name: 'Palau',
+ capital: 'Ngerulmud',
+ languages: ['English'],
+ population: 17950,
+ flag: 'https://restcountries.eu/data/plw.svg',
+ currency: '[E]'
+ },
+ {
+ name: 'Palestine, State of',
+ capital: 'Ramallah',
+ languages: ['Arabic'],
+ population: 4682467,
+ flag: 'https://restcountries.eu/data/pse.svg',
+ currency: 'Israeli new sheqel'
+ },
+ {
+ name: 'Panama',
+ capital: 'Panama City',
+ languages: ['Spanish'],
+ population: 3814672,
+ flag: 'https://restcountries.eu/data/pan.svg',
+ currency: 'Panamanian balboa'
+ },
+ {
+ name: 'Papua New Guinea',
+ capital: 'Port Moresby',
+ languages: ['English'],
+ population: 8083700,
+ flag: 'https://restcountries.eu/data/png.svg',
+ currency: 'Papua New Guinean kina'
+ },
+ {
+ name: 'Paraguay',
+ capital: 'AsunciĂłn',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 6854536,
+ flag: 'https://restcountries.eu/data/pry.svg',
+ currency: 'Paraguayan guaranĂ'
+ },
+ {
+ name: 'Peru',
+ capital: 'Lima',
+ languages: ['Spanish'],
+ population: 31488700,
+ flag: 'https://restcountries.eu/data/per.svg',
+ currency: 'Peruvian sol'
+ },
+ {
+ name: 'Philippines',
+ capital: 'Manila',
+ languages: ['English'],
+ population: 103279800,
+ flag: 'https://restcountries.eu/data/phl.svg',
+ currency: 'Philippine peso'
+ },
+ {
+ name: 'Pitcairn',
+ capital: 'Adamstown',
+ languages: ['English'],
+ population: 56,
+ flag: 'https://restcountries.eu/data/pcn.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Poland',
+ capital: 'Warsaw',
+ languages: ['Polish'],
+ population: 38437239,
+ flag: 'https://restcountries.eu/data/pol.svg',
+ currency: 'Polish zĆoty'
+ },
+ {
+ name: 'Portugal',
+ capital: 'Lisbon',
+ languages: ['Portuguese'],
+ population: 10374822,
+ flag: 'https://restcountries.eu/data/prt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Puerto Rico',
+ capital: 'San Juan',
+ languages: ['Spanish', 'English'],
+ population: 3474182,
+ flag: 'https://restcountries.eu/data/pri.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Qatar',
+ capital: 'Doha',
+ languages: ['Arabic'],
+ population: 2587564,
+ flag: 'https://restcountries.eu/data/qat.svg',
+ currency: 'Qatari riyal'
+ },
+ {
+ name: 'Republic of Kosovo',
+ capital: 'Pristina',
+ languages: ['Albanian', 'Serbian'],
+ population: 1733842,
+ flag: 'https://restcountries.eu/data/kos.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Réunion',
+ capital: 'Saint-Denis',
+ languages: ['French'],
+ population: 840974,
+ flag: 'https://restcountries.eu/data/reu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Romania',
+ capital: 'Bucharest',
+ languages: ['Romanian'],
+ population: 19861408,
+ flag: 'https://restcountries.eu/data/rou.svg',
+ currency: 'Romanian leu'
+ },
+ {
+ name: 'Russian Federation',
+ capital: 'Moscow',
+ languages: ['Russian'],
+ population: 146599183,
+ flag: 'https://restcountries.eu/data/rus.svg',
+ currency: 'Russian ruble'
+ },
+ {
+ name: 'Rwanda',
+ capital: 'Kigali',
+ languages: ['Kinyarwanda', 'English', 'French'],
+ population: 11553188,
+ flag: 'https://restcountries.eu/data/rwa.svg',
+ currency: 'Rwandan franc'
+ },
+ {
+ name: 'Saint Barthélemy',
+ capital: 'Gustavia',
+ languages: ['French'],
+ population: 9417,
+ flag: 'https://restcountries.eu/data/blm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Helena, Ascension and Tristan da Cunha',
+ capital: 'Jamestown',
+ languages: ['English'],
+ population: 4255,
+ flag: 'https://restcountries.eu/data/shn.svg',
+ currency: 'Saint Helena pound'
+ },
+ {
+ name: 'Saint Kitts and Nevis',
+ capital: 'Basseterre',
+ languages: ['English'],
+ population: 46204,
+ flag: 'https://restcountries.eu/data/kna.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Lucia',
+ capital: 'Castries',
+ languages: ['English'],
+ population: 186000,
+ flag: 'https://restcountries.eu/data/lca.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Martin (French part)',
+ capital: 'Marigot',
+ languages: ['English', 'French', 'Dutch'],
+ population: 36979,
+ flag: 'https://restcountries.eu/data/maf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Pierre and Miquelon',
+ capital: 'Saint-Pierre',
+ languages: ['French'],
+ population: 6069,
+ flag: 'https://restcountries.eu/data/spm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Vincent and the Grenadines',
+ capital: 'Kingstown',
+ languages: ['English'],
+ population: 109991,
+ flag: 'https://restcountries.eu/data/vct.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Samoa',
+ capital: 'Apia',
+ languages: ['Samoan', 'English'],
+ population: 194899,
+ flag: 'https://restcountries.eu/data/wsm.svg',
+ currency: 'Samoan tÄlÄ'
+ },
+ {
+ name: 'San Marino',
+ capital: 'City of San Marino',
+ languages: ['Italian'],
+ population: 33005,
+ flag: 'https://restcountries.eu/data/smr.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sao Tome and Principe',
+ capital: 'São Tomé',
+ languages: ['Portuguese'],
+ population: 187356,
+ flag: 'https://restcountries.eu/data/stp.svg',
+ currency: 'SĂŁo TomĂ© and PrĂncipe dobra'
+ },
+ {
+ name: 'Saudi Arabia',
+ capital: 'Riyadh',
+ languages: ['Arabic'],
+ population: 32248200,
+ flag: 'https://restcountries.eu/data/sau.svg',
+ currency: 'Saudi riyal'
+ },
+ {
+ name: 'Senegal',
+ capital: 'Dakar',
+ languages: ['French'],
+ population: 14799859,
+ flag: 'https://restcountries.eu/data/sen.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Serbia',
+ capital: 'Belgrade',
+ languages: ['Serbian'],
+ population: 7076372,
+ flag: 'https://restcountries.eu/data/srb.svg',
+ currency: 'Serbian dinar'
+ },
+ {
+ name: 'Seychelles',
+ capital: 'Victoria',
+ languages: ['French', 'English'],
+ population: 91400,
+ flag: 'https://restcountries.eu/data/syc.svg',
+ currency: 'Seychellois rupee'
+ },
+ {
+ name: 'Sierra Leone',
+ capital: 'Freetown',
+ languages: ['English'],
+ population: 7075641,
+ flag: 'https://restcountries.eu/data/sle.svg',
+ currency: 'Sierra Leonean leone'
+ },
+ {
+ name: 'Singapore',
+ capital: 'Singapore',
+ languages: ['English', 'Malay', 'Tamil', 'Chinese'],
+ population: 5535000,
+ flag: 'https://restcountries.eu/data/sgp.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Sint Maarten (Dutch part)',
+ capital: 'Philipsburg',
+ languages: ['Dutch', 'English'],
+ population: 38247,
+ flag: 'https://restcountries.eu/data/sxm.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Slovakia',
+ capital: 'Bratislava',
+ languages: ['Slovak'],
+ population: 5426252,
+ flag: 'https://restcountries.eu/data/svk.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Slovenia',
+ capital: 'Ljubljana',
+ languages: ['Slovene'],
+ population: 2064188,
+ flag: 'https://restcountries.eu/data/svn.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Solomon Islands',
+ capital: 'Honiara',
+ languages: ['English'],
+ population: 642000,
+ flag: 'https://restcountries.eu/data/slb.svg',
+ currency: 'Solomon Islands dollar'
+ },
+ {
+ name: 'Somalia',
+ capital: 'Mogadishu',
+ languages: ['Somali', 'Arabic'],
+ population: 11079000,
+ flag: 'https://restcountries.eu/data/som.svg',
+ currency: 'Somali shilling'
+ },
+ {
+ name: 'South Africa',
+ capital: 'Pretoria',
+ languages: [
+ 'Afrikaans',
+ 'English',
+ 'Southern Ndebele',
+ 'Southern Sotho',
+ 'Swati',
+ 'Tswana',
+ 'Tsonga',
+ 'Venda',
+ 'Xhosa',
+ 'Zulu'
+ ],
+ population: 55653654,
+ flag: 'https://restcountries.eu/data/zaf.svg',
+ currency: 'South African rand'
+ },
+ {
+ name: 'South Georgia and the South Sandwich Islands',
+ capital: 'King Edward Point',
+ languages: ['English'],
+ population: 30,
+ flag: 'https://restcountries.eu/data/sgs.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Korea (Republic of)',
+ capital: 'Seoul',
+ languages: ['Korean'],
+ population: 50801405,
+ flag: 'https://restcountries.eu/data/kor.svg',
+ currency: 'South Korean won'
+ },
+ {
+ name: 'South Sudan',
+ capital: 'Juba',
+ languages: ['English'],
+ population: 12131000,
+ flag: 'https://restcountries.eu/data/ssd.svg',
+ currency: 'South Sudanese pound'
+ },
+ {
+ name: 'Spain',
+ capital: 'Madrid',
+ languages: ['Spanish'],
+ population: 46438422,
+ flag: 'https://restcountries.eu/data/esp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sri Lanka',
+ capital: 'Colombo',
+ languages: ['Sinhalese', 'Tamil'],
+ population: 20966000,
+ flag: 'https://restcountries.eu/data/lka.svg',
+ currency: 'Sri Lankan rupee'
+ },
+ {
+ name: 'Sudan',
+ capital: 'Khartoum',
+ languages: ['Arabic', 'English'],
+ population: 39598700,
+ flag: 'https://restcountries.eu/data/sdn.svg',
+ currency: 'Sudanese pound'
+ },
+ {
+ name: 'Suriname',
+ capital: 'Paramaribo',
+ languages: ['Dutch'],
+ population: 541638,
+ flag: 'https://restcountries.eu/data/sur.svg',
+ currency: 'Surinamese dollar'
+ },
+ {
+ name: 'Svalbard and Jan Mayen',
+ capital: 'Longyearbyen',
+ languages: ['Norwegian'],
+ population: 2562,
+ flag: 'https://restcountries.eu/data/sjm.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Swaziland',
+ capital: 'Lobamba',
+ languages: ['English', 'Swati'],
+ population: 1132657,
+ flag: 'https://restcountries.eu/data/swz.svg',
+ currency: 'Swazi lilangeni'
+ },
+ {
+ name: 'Sweden',
+ capital: 'Stockholm',
+ languages: ['Swedish'],
+ population: 9894888,
+ flag: 'https://restcountries.eu/data/swe.svg',
+ currency: 'Swedish krona'
+ },
+ {
+ name: 'Switzerland',
+ capital: 'Bern',
+ languages: ['German', 'French', 'Italian'],
+ population: 8341600,
+ flag: 'https://restcountries.eu/data/che.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Syrian Arab Republic',
+ capital: 'Damascus',
+ languages: ['Arabic'],
+ population: 18564000,
+ flag: 'https://restcountries.eu/data/syr.svg',
+ currency: 'Syrian pound'
+ },
+ {
+ name: 'Taiwan',
+ capital: 'Taipei',
+ languages: ['Chinese'],
+ population: 23503349,
+ flag: 'https://restcountries.eu/data/twn.svg',
+ currency: 'New Taiwan dollar'
+ },
+ {
+ name: 'Tajikistan',
+ capital: 'Dushanbe',
+ languages: ['Tajik', 'Russian'],
+ population: 8593600,
+ flag: 'https://restcountries.eu/data/tjk.svg',
+ currency: 'Tajikistani somoni'
+ },
+ {
+ name: 'Tanzania, United Republic of',
+ capital: 'Dodoma',
+ languages: ['Swahili', 'English'],
+ population: 55155000,
+ flag: 'https://restcountries.eu/data/tza.svg',
+ currency: 'Tanzanian shilling'
+ },
+ {
+ name: 'Thailand',
+ capital: 'Bangkok',
+ languages: ['Thai'],
+ population: 65327652,
+ flag: 'https://restcountries.eu/data/tha.svg',
+ currency: 'Thai baht'
+ },
+ {
+ name: 'Timor-Leste',
+ capital: 'Dili',
+ languages: ['Portuguese'],
+ population: 1167242,
+ flag: 'https://restcountries.eu/data/tls.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Togo',
+ capital: 'Lomé',
+ languages: ['French'],
+ population: 7143000,
+ flag: 'https://restcountries.eu/data/tgo.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Tokelau',
+ capital: 'Fakaofo',
+ languages: ['English'],
+ population: 1411,
+ flag: 'https://restcountries.eu/data/tkl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Tonga',
+ capital: "Nuku'alofa",
+ languages: ['English', 'Tonga (Tonga Islands)'],
+ population: 103252,
+ flag: 'https://restcountries.eu/data/ton.svg',
+ currency: 'Tongan paʻanga'
+ },
+ {
+ name: 'Trinidad and Tobago',
+ capital: 'Port of Spain',
+ languages: ['English'],
+ population: 1349667,
+ flag: 'https://restcountries.eu/data/tto.svg',
+ currency: 'Trinidad and Tobago dollar'
+ },
+ {
+ name: 'Tunisia',
+ capital: 'Tunis',
+ languages: ['Arabic'],
+ population: 11154400,
+ flag: 'https://restcountries.eu/data/tun.svg',
+ currency: 'Tunisian dinar'
+ },
+ {
+ name: 'Turkey',
+ capital: 'Ankara',
+ languages: ['Turkish'],
+ population: 78741053,
+ flag: 'https://restcountries.eu/data/tur.svg',
+ currency: 'Turkish lira'
+ },
+ {
+ name: 'Turkmenistan',
+ capital: 'Ashgabat',
+ languages: ['Turkmen', 'Russian'],
+ population: 4751120,
+ flag: 'https://restcountries.eu/data/tkm.svg',
+ currency: 'Turkmenistan manat'
+ },
+ {
+ name: 'Turks and Caicos Islands',
+ capital: 'Cockburn Town',
+ languages: ['English'],
+ population: 31458,
+ flag: 'https://restcountries.eu/data/tca.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Tuvalu',
+ capital: 'Funafuti',
+ languages: ['English'],
+ population: 10640,
+ flag: 'https://restcountries.eu/data/tuv.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Uganda',
+ capital: 'Kampala',
+ languages: ['English', 'Swahili'],
+ population: 33860700,
+ flag: 'https://restcountries.eu/data/uga.svg',
+ currency: 'Ugandan shilling'
+ },
+ {
+ name: 'Ukraine',
+ capital: 'Kiev',
+ languages: ['Ukrainian'],
+ population: 42692393,
+ flag: 'https://restcountries.eu/data/ukr.svg',
+ currency: 'Ukrainian hryvnia'
+ },
+ {
+ name: 'United Arab Emirates',
+ capital: 'Abu Dhabi',
+ languages: ['Arabic'],
+ population: 9856000,
+ flag: 'https://restcountries.eu/data/are.svg',
+ currency: 'United Arab Emirates dirham'
+ },
+ {
+ name: 'United Kingdom of Great Britain and Northern Ireland',
+ capital: 'London',
+ languages: ['English'],
+ population: 65110000,
+ flag: 'https://restcountries.eu/data/gbr.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'United States of America',
+ capital: 'Washington, D.C.',
+ languages: ['English'],
+ population: 323947000,
+ flag: 'https://restcountries.eu/data/usa.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Uruguay',
+ capital: 'Montevideo',
+ languages: ['Spanish'],
+ population: 3480222,
+ flag: 'https://restcountries.eu/data/ury.svg',
+ currency: 'Uruguayan peso'
+ },
+ {
+ name: 'Uzbekistan',
+ capital: 'Tashkent',
+ languages: ['Uzbek', 'Russian'],
+ population: 31576400,
+ flag: 'https://restcountries.eu/data/uzb.svg',
+ currency: "Uzbekistani so'm"
+ },
+ {
+ name: 'Vanuatu',
+ capital: 'Port Vila',
+ languages: ['Bislama', 'English', 'French'],
+ population: 277500,
+ flag: 'https://restcountries.eu/data/vut.svg',
+ currency: 'Vanuatu vatu'
+ },
+ {
+ name: 'Venezuela (Bolivarian Republic of)',
+ capital: 'Caracas',
+ languages: ['Spanish'],
+ population: 31028700,
+ flag: 'https://restcountries.eu/data/ven.svg',
+ currency: 'Venezuelan bolĂvar'
+ },
+ {
+ name: 'Viet Nam',
+ capital: 'Hanoi',
+ languages: ['Vietnamese'],
+ population: 92700000,
+ flag: 'https://restcountries.eu/data/vnm.svg',
+ currency: 'Vietnamese Äá»ng'
+ },
+ {
+ name: 'Wallis and Futuna',
+ capital: 'Mata-Utu',
+ languages: ['French'],
+ population: 11750,
+ flag: 'https://restcountries.eu/data/wlf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'Western Sahara',
+ capital: 'El AaiĂșn',
+ languages: ['Spanish'],
+ population: 510713,
+ flag: 'https://restcountries.eu/data/esh.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Yemen',
+ capital: "Sana'a",
+ languages: ['Arabic'],
+ population: 27478000,
+ flag: 'https://restcountries.eu/data/yem.svg',
+ currency: 'Yemeni rial'
+ },
+ {
+ name: 'Zambia',
+ capital: 'Lusaka',
+ languages: ['English'],
+ population: 15933883,
+ flag: 'https://restcountries.eu/data/zmb.svg',
+ currency: 'Zambian kwacha'
+ },
+ {
+ name: 'Zimbabwe',
+ capital: 'Harare',
+ languages: ['English', 'Shona', 'Northern Ndebele'],
+ population: 14240168,
+ flag: 'https://restcountries.eu/data/zwe.svg',
+ currency: 'Botswana pula'
+ }
+]
diff --git a/11_Day/11_day_starter/index.html b/11_Day/11_day_starter/index.html
new file mode 100644
index 0000000..6efcab4
--- /dev/null
+++ b/11_Day/11_day_starter/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ 30DaysOfJavaScript:11 Day
+
+
+
+ 30DaysOfJavaScript:11 Day
+ Destructuring and Spread
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/11_Day/11_day_starter/scripts/main.js b/11_Day/11_day_starter/scripts/main.js
new file mode 100644
index 0000000..c6045c8
--- /dev/null
+++ b/11_Day/11_day_starter/scripts/main.js
@@ -0,0 +1,2 @@
+console.log(countries)
+alert('Open the console and check if the countries has been loaded')
\ No newline at end of file
diff --git a/12_Day/12_day_regular_expressions.md b/12_Day/12_day_regular_expressions.md
new file mode 100644
index 0000000..676085a
--- /dev/null
+++ b/12_Day/12_day_regular_expressions.md
@@ -0,0 +1,524 @@
+
+
+[<< Day 11](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/11_Day/11_day_destructuring_and_spread.md) | [Day 13>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/13_Day/13_day_console_object_methods.md)
+
+
+
+- [đ Day 12](#%f0%9f%93%98-day-12)
+ - [Regular Expressions](#regular-expressions)
+ - [RegEx parameters](#regex-parameters)
+ - [Pattern](#pattern)
+ - [Flags](#flags)
+ - [Creating a pattern with RegEx Constructor](#creating-a-pattern-with-regex-constructor)
+ - [Creating a pattern without RegEx Constructor](#creating-a-pattern-without-regex-constructor)
+ - [RegExp Object Methods](#regexp-object-methods)
+ - [Testing for a match](#testing-for-a-match)
+ - [Array containing all of the match](#array-containing-all-of-the-match)
+ - [Replacing a substring](#replacing-a-substring)
+ - [Square Bracket](#square-bracket)
+ - [Escape character(\\) in RegEx](#escape-character-in-regex)
+ - [One or more times(+)](#one-or-more-times)
+ - [Period(.)](#period)
+ - [Zero or more times(*)](#zero-or-more-times)
+ - [Zero or one times(?)](#zero-or-one-times)
+ - [Quantifier in RegEx](#quantifier-in-regex)
+ - [Cart ^](#cart)
+ - [Exact match](#exact-match)
+ - [đ» Exercises](#%f0%9f%92%bb-exercises)
+ - [Exercises: Level 1](#exercises-level-1)
+ - [Exercises: Level 2](#exercises-level-2)
+ - [Exercises: Level 3](#exercises-level-3)
+
+# đ Day 12
+
+## Regular Expressions
+
+A regular expression or RegEx is a small programming language that helps to find pattern in data. A RegEx can be used to check if some pattern exists in a different data types. To use RegEx in JavaScript either we use RegEx constructor or we can declare a RegEx pattern using two forward slashes followed by a flag. We can create a pattern in two ways.
+
+To declare a string we use a single quote, double quote a backtick to declare a regular expression we use two forward slashes and an optional flag. The flag could be g, i, m, s, u or y.
+
+### RegEx parameters
+
+A regular expression takes two parameters. One required search pattern and an optional flag.
+
+#### Pattern
+
+A pattern could be a text or any form of pattern which some sort of similarity. For instance the word spam in an email could be a pattern we are interested to look for in an email or a phone number format number might be our interest to look for.
+
+#### Flags
+
+Flags are optional parameters in a regular expression which determine the type of searching. Let see some of the flags:
+
+- g:is a global flag which means looking for a pattern in whole text
+- i: case insensitive flag(it searches for both lowercase and uppercase)
+- m: multiline
+
+### Creating a pattern with RegEx Constructor
+
+Declaring regular expression without global flag and case insensitive flag.
+
+```js
+// without flag
+let pattern = 'love'
+let regEx = new RegEx(pattern)
+```
+
+Declaring regular expression with global flag and case insensitive flag.
+
+```js
+let pattern = 'love'
+let flag = 'gi'
+let regEx = new RegEx(pattern, flag)
+```
+
+Declaring a regex pattern using RegEx object. Writing the pattern and the flag inside the RegEx constructor
+
+```js
+let regEx = new RegEx('love','gi')
+```
+
+### Creating a pattern without RegEx Constructor
+
+Declaring regular expression with global flag and case insensitive flag.
+
+```js
+let regEx= /love/gi
+```
+
+The above regular expression is the same as the one which we created with RegEx constructor
+
+```js
+let regEx= new RegEx('love','gi')
+```
+
+### RegExp Object Methods
+
+Let see some of RegEx methods
+
+#### Testing for a match
+
+*test()*:Tests for a match in a string. It returns true or false.
+
+```js
+const str = 'I love JavaScript'
+const pattern = /love/
+const result = pattern.test(str)
+console.log(result)
+```
+
+```sh
+true
+```
+
+#### Array containing all of the match
+
+*match()*:Returns an array containing all of the matches, including capturing groups, or null if no match is found.
+If we do not use a global flag, match() returns an array containing the pattern, index, input and group.
+
+```js
+const str = 'I love JavaScript'
+const pattern = /love/
+const result = str.match(pattern)
+console.log(result)
+```
+
+```sh
+["love", index: 2, input: "I love JavaScript", groups: undefined]
+```
+
+```js
+const str = 'I love JavaScript'
+const pattern = /love/g
+const result = str.match(pattern)
+console.log(result)
+```
+
+```sh
+["love"]
+```
+
+*search()*: Tests for a match in a string. It returns the index of the match, or -1 if the search fails.
+
+```js
+const str = 'I love JavaScript'
+const pattern = /love/g
+const result = str.search(pattern)
+console.log(result)
+```
+
+```sh
+2
+```
+
+#### Replacing a substring
+
+*replace()*: Executes a search for a match in a string, and replaces the matched substring with a replacement substring.
+
+```js
+const txt = 'Python is the most beautiful language that a human begin has ever created.\
+I recommend python for a first programming language'
+
+matchReplaced = txt.replace(/Python|python/, 'JavaScript')
+console.log(matchReplaced)
+```
+
+```sh
+JavaScript is the most beautiful language that a human begin has ever created.I recommend python for a first programming language
+```
+
+```js
+const txt = 'Python is the most beautiful language that a human begin has ever created.\
+I recommend python for a first programming language'
+
+matchReplaced = txt.replace(/Python|python/g, 'JavaScript')
+console.log(matchReplaced)
+```
+
+```sh
+JavaScript is the most beautiful language that a human begin has ever created.I recommend JavaScript for a first programming language
+```
+
+```js
+const txt = 'Python is the most beautiful language that a human begin has ever created.\
+I recommend python for a first programming language'
+
+matchReplaced = txt.replace(/Python/gi, 'JavaScript')
+console.log(matchReplaced)
+```
+
+```sh
+JavaScript is the most beautiful language that a human begin has ever created.I recommend JavaScript for a first programming language
+```
+
+```js
+
+const txt = '%I a%m te%%a%%che%r% a%n%d %% I l%o%ve te%ach%ing.\
+T%he%re i%s n%o%th%ing as m%ore r%ewarding a%s e%duc%at%i%ng a%n%d e%m%p%ow%er%ing \
+p%e%o%ple.\
+I fo%und te%a%ching m%ore i%n%t%er%%es%ting t%h%an any other %jobs.\
+D%o%es thi%s m%ot%iv%a%te %y%o%u to b%e a t%e%a%cher.'
+
+matches = txt.replace(/%/g, '')
+console.log(matches)
+```
+
+```sh
+I am teacher and I love teaching.There is nothing as more rewarding as educating and empowering people.I found teaching more interesting than any other jobs.Does this motivate you to be a teacher.
+```
+
+* []: A set of characters
+ * [a-c] means, a or b or c
+ * [a-z] means, any letter a to z
+ * [A-Z] means, any character A to Z
+ * [0-3] means, 0 or 1 or 2 or 3
+ * [0-9] means any number 0 to 9
+ * [A-Za-z0-9] any character which is a to z, A to Z, 0 to 9
+* \\: uses to escape special characters
+ * \d mean:match where the string contains digits (numbers from 0-9)
+ * \D mean: match where the string does not contain digits
+* . : any character except new line character(\n)
+* ^: starts with
+ * r'^substring' eg r'^love', a sentence which starts with a word love
+ * r'[^abc] mean not a, not b, not c.
+* $: ends with
+ * r'substring$' eg r'love$', sentence ends with a word love
+* *: zero or more times
+ * r'[a]*' means a optional or it can be occur many times.
+* +: one or more times
+ * r'[a]+' mean at least once or more times
+* ?: zero or one times
+ * r'[a]?' mean zero times or once
+* {3}: Exactly 3 characters
+* {3,}: At least 3 character
+* {3,8}: 3 to 8 characters
+* |: Either or
+ * r'apple|banana' mean either of an apple or a banana
+* (): Capture and group
+
+
+
+Let's use example to clarify the above meta characters
+
+### Square Bracket
+
+Let's use square bracket to include lower and upper case
+
+```js
+const pattern = '[Aa]pple' // this square bracket mean either A or a
+const txt = 'Apple and banana are fruits. An old cliche says an apple a day a doctor way has been replaced by a banana a day keeps the doctor far far away. '
+const matches = txt.match(pattern)
+
+console.log(matches)
+```
+
+```sh
+["Apple", index: 0, input: "Apple and banana are fruits. An old cliche says anâŠby a banana a day keeps the doctor far far away. ", groups: undefined]
+
+```
+
+```js
+const pattern = /[Aa]pple/g // this square bracket mean either A or a
+const txt = 'Apple and banana are fruits. An old cliche says an apple a day a doctor way has been replaced by a banana a day keeps the doctor far far away. '
+const matches = txt.match(pattern)
+
+console.log(matches)
+```
+
+```sh
+["Apple", "apple"]
+```
+
+If we want to look for the banana, we write the pattern as follows:
+
+```js
+const pattern = /[Aa]pple|[Bb]anana/g // this square bracket mean either A or a
+const txt = 'Apple and banana are fruits. An old cliche says an apple a day a doctor way has been replaced by a banana a day keeps the doctor far far away. Banana is easy to eat too.'
+const matches = txt.match(pattern)
+
+console.log(matches)
+```
+
+```sh
+["Apple", "banana", "apple", "banana", "Banana"]
+```
+
+Using the square bracket and or operator , we manage to extract Apple, apple, Banana and banana.
+
+### Escape character(\\) in RegEx
+
+```js
+const pattern = /\d/g // d is a special character which means digits
+const txt = 'This regular expression example was made in January 12, 2020.'
+const matches = txt. match(pattern)
+
+console.log(matches) // ["1", "2", "2", "0", "2", "0"], this is not what we want
+```
+
+```js
+const pattern = /\d+/g // d is a special character which means digits
+const txt = 'This regular expression example was made in January 12, 2020.'
+const matches = txt. match(pattern)
+
+console.log(matches) // ["12", "2020"], this is not what we want
+```
+
+### One or more times(+)
+
+```js
+const pattern = /\d+/g // d is a special character which means digits
+const txt = 'This regular expression example was made in January 12, 2020.'
+const matches = txt. match(pattern)
+console.log(matches) // ["12", "2020"], this is not what we want
+```
+
+### Period(.)
+
+```js
+const pattern = /[a]./g // this square bracket means a and . means any character except new line
+const txt = 'Apple and banana are fruits'
+const matches = txt.match(pattern)
+
+console.log(matches) // ["an", "an", "an", "a ", "ar"]
+```
+
+```js
+const pattern = /[a].+/g // . any character, + any character one or more times
+const txt = 'Apple and banana are fruits'
+const matches = txt.match(pattern)
+
+console.log(matches) // ['and banana are fruits']
+```
+
+### Zero or more times(*)
+
+Zero or many times. The pattern could may not occur or it can occur many times.
+
+```js
+
+const pattern = /[a].*/g //. any character, + any character one or more times
+const txt = 'Apple and banana are fruits'
+const matches = txt.match(pattern)
+
+console.log(matches) // ['and banana are fruits']
+
+```
+
+### Zero or one times(?)
+
+Zero or one times. The pattern could may not occur or it may occur once.
+
+```js
+const txt = 'I am not sure if there is a convention how to write the word e-mail.\
+Some people write it email others may write it as Email or E-mail.'
+const pattern = /[Ee]-?mail/g // ? means optional
+matches = txt.match(pattern)
+
+console.log(matches) // ["e-mail", "email", "Email", "E-mail"]
+
+```
+
+### Quantifier in RegEx
+
+We can specify the length of the substring we look for in a text, using a curly bracket. Lets imagine, we are interested in substring that their length are 4 characters
+
+```js
+const txt = 'This regular expression example was made in December 6, 2019.'
+const pattern = /\d{4}/g // exactly four times
+const matches = txt.match(pattern)
+console.log(matches) // ['2019']
+```
+
+```js
+const txt = 'This regular expression example was made in December 6, 2019.'
+const pattern = /\d{1,4}/g // 1 to 4
+const matches = txt.match(pattern)
+console.log(matches) // ['6', '2019']
+```
+
+### Cart ^
+
+- Starts with
+
+```js
+const txt = 'This regular expression example was made in December 6, 2019.'
+const pattern = /^This/ // ^ means starts with
+const matches = txt.match(pattern)
+console.log(matches) // ['This']
+```
+
+- Negation
+
+```js
+const txt = 'This regular expression example was made in December 6, 2019.'
+const pattern = /[^A-Za-z,. ]+/g // ^ in set character means negation, not A to Z, not a to z, no space, no coma no period
+const matches = txt.match(pattern)
+console.log(matches) // ["6", "2019"]
+```
+
+### Exact match
+
+It should have ^ starting and $ which is an end.
+
+```js
+let pattern = /^[A-Z][a-z]{3,12}$/;
+let name = 'Asabeneh';
+let result = pattern.test(name)
+
+console.log(result) // true
+```
+
+đ You are going far. Keep going! Now, you are super charged with the power of regular expression. You have the power to extract and clean any kind of text and you can make meaning out of unstructured data. You have just completed day 12 challenges and you are 12 steps a head in to your way to greatness. Now do some exercises for your brain and for your muscle.
+
+## đ» Exercises
+
+### Exercises: Level 1
+
+1. Calculate the total annual income of the person from the following text. âHe earns 4000 euro from salary per month, 10000 euro annual bonus, 5500 euro online courses per month.â
+1. The position of some particles on the horizontal x-axis -12, -4, -3 and -1 in the negative direction, 0 at origin, 4 and 8 in the positive direction. Extract these numbers and find the distance between the two furthest particles.
+
+```js
+points = ['-1', '2', '-4', '-3', '-1', '0', '4', '8']
+sortedPoints = [-4, -3, -1, -1, 0, 2, 4, 8]
+distance = 12
+```
+
+1. Write a pattern which identify if a string is a valid JavaScript variable
+
+ ```sh
+ is_valid_variable('first_name') # True
+ is_valid_variable('first-name') # False
+ is_valid_variable('1first_name') # False
+ is_valid_variable('firstname') # True
+ ```
+
+### Exercises: Level 2
+
+1. Write a function called *tenMostFrequentWords* which get the ten most frequent word from a string?
+
+ ```js
+ paragraph = `I love teaching. If you do not love teaching what else can you love. I love Python if you do not love something which can give you all the capabilities to develop an application what else can you love.`
+ console.log(tenMostFrequentWords(paragraph))
+ ```
+
+ ```sh
+ [(6, 'love'),
+ (5, 'you'),
+ (3, 'can'),
+ (2, 'what'),
+ (2, 'teaching'),
+ (2, 'not'),
+ (2, 'else'),
+ (2, 'do'),
+ (2, 'I'),
+ (1, 'which'),
+ (1, 'to'),
+ (1, 'the'),
+ (1, 'something'),
+ (1, 'if'),
+ (1, 'give'),
+ (1, 'develop'),
+ (1, 'capabilities'),
+ (1, 'application'),
+ (1, 'an'),
+ (1, 'all'),
+ (1, 'Python'),
+ (1, 'If')
+ ]
+ ```
+
+ ```js
+ console.log(tenMostFrequentWords(paragraph, 10))
+ ```
+
+ ```sh
+ [ (6, 'love'),
+ (5, 'you'),
+ (3, 'can'),
+ (2, 'what'),
+ (2, 'teaching'),
+ (2, 'not'),
+ (2, 'else'),
+ (2, 'do'),
+ (2, 'I'),
+ (1, 'which')
+ ]
+ ```
+
+### Exercises: Level 3
+
+1. Writ a function which cleans text. Clean the following text. After cleaning, count three most frequent words in the string.
+
+ ```js
+ sentence = `%I $am@% a %tea@cher%, &and& I lo%#ve %tea@ching%;. There $is nothing; &as& mo@re rewarding as educa@ting &and& @emp%o@wering peo@ple. ;I found tea@ching m%o@re interesting tha@n any other %jo@bs. %Do@es thi%s mo@tivate yo@u to be a tea@cher!?`
+
+ console.log(cleanText(sentence))
+ ```
+
+ ```sh
+ I am a teacher and I love teaching There is nothing as more rewarding as educating and empowering people I found teaching more interesting than any other jobs Does this motivate you to be a teacher
+ ```
+1. Write a function which find the most frequent words. After cleaning, count three most frequent words in the string.
+
+ ```js
+ console.log(mostFrequentWords(cleanedText))
+ [(3, 'I'), (2, 'teaching'), (2, 'teacher')]
+ ```
+
+
+đ CONGRATULATIONS ! đ
+
+
+[<< Day 11](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/11_Day/11_day_destructuring_and_spread.md) | [Day 13>>](#)
diff --git a/12_Day/12_day_starter/data/countries_data.js b/12_Day/12_day_starter/data/countries_data.js
new file mode 100644
index 0000000..92acddd
--- /dev/null
+++ b/12_Day/12_day_starter/data/countries_data.js
@@ -0,0 +1,2013 @@
+const countries = [
+ {
+ name: 'Afghanistan',
+ capital: 'Kabul',
+ languages: ['Pashto', 'Uzbek', 'Turkmen'],
+ population: 27657145,
+ flag: 'https://restcountries.eu/data/afg.svg',
+ currency: 'Afghan afghani'
+ },
+ {
+ name: 'Ă
land Islands',
+ capital: 'Mariehamn',
+ languages: ['Swedish'],
+ population: 28875,
+ flag: 'https://restcountries.eu/data/ala.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Albania',
+ capital: 'Tirana',
+ languages: ['Albanian'],
+ population: 2886026,
+ flag: 'https://restcountries.eu/data/alb.svg',
+ currency: 'Albanian lek'
+ },
+ {
+ name: 'Algeria',
+ capital: 'Algiers',
+ languages: ['Arabic'],
+ population: 40400000,
+ flag: 'https://restcountries.eu/data/dza.svg',
+ currency: 'Algerian dinar'
+ },
+ {
+ name: 'American Samoa',
+ capital: 'Pago Pago',
+ languages: ['English', 'Samoan'],
+ population: 57100,
+ flag: 'https://restcountries.eu/data/asm.svg',
+ currency: 'United State Dollar'
+ },
+ {
+ name: 'Andorra',
+ capital: 'Andorra la Vella',
+ languages: ['Catalan'],
+ population: 78014,
+ flag: 'https://restcountries.eu/data/and.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Angola',
+ capital: 'Luanda',
+ languages: ['Portuguese'],
+ population: 25868000,
+ flag: 'https://restcountries.eu/data/ago.svg',
+ currency: 'Angolan kwanza'
+ },
+ {
+ name: 'Anguilla',
+ capital: 'The Valley',
+ languages: ['English'],
+ population: 13452,
+ flag: 'https://restcountries.eu/data/aia.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Antarctica',
+ capital: '',
+ languages: ['English', 'Russian'],
+ population: 1000,
+ flag: 'https://restcountries.eu/data/ata.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Antigua and Barbuda',
+ capital: "Saint John's",
+ languages: ['English'],
+ population: 86295,
+ flag: 'https://restcountries.eu/data/atg.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Argentina',
+ capital: 'Buenos Aires',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 43590400,
+ flag: 'https://restcountries.eu/data/arg.svg',
+ currency: 'Argentine peso'
+ },
+ {
+ name: 'Armenia',
+ capital: 'Yerevan',
+ languages: ['Armenian', 'Russian'],
+ population: 2994400,
+ flag: 'https://restcountries.eu/data/arm.svg',
+ currency: 'Armenian dram'
+ },
+ {
+ name: 'Aruba',
+ capital: 'Oranjestad',
+ languages: ['Dutch', '(Eastern) Punjabi'],
+ population: 107394,
+ flag: 'https://restcountries.eu/data/abw.svg',
+ currency: 'Aruban florin'
+ },
+ {
+ name: 'Australia',
+ capital: 'Canberra',
+ languages: ['English'],
+ population: 24117360,
+ flag: 'https://restcountries.eu/data/aus.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Austria',
+ capital: 'Vienna',
+ languages: ['German'],
+ population: 8725931,
+ flag: 'https://restcountries.eu/data/aut.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Azerbaijan',
+ capital: 'Baku',
+ languages: ['Azerbaijani'],
+ population: 9730500,
+ flag: 'https://restcountries.eu/data/aze.svg',
+ currency: 'Azerbaijani manat'
+ },
+ {
+ name: 'Bahamas',
+ capital: 'Nassau',
+ languages: ['English'],
+ population: 378040,
+ flag: 'https://restcountries.eu/data/bhs.svg',
+ currency: 'Bahamian dollar'
+ },
+ {
+ name: 'Bahrain',
+ capital: 'Manama',
+ languages: ['Arabic'],
+ population: 1404900,
+ flag: 'https://restcountries.eu/data/bhr.svg',
+ currency: 'Bahraini dinar'
+ },
+ {
+ name: 'Bangladesh',
+ capital: 'Dhaka',
+ languages: ['Bengali'],
+ population: 161006790,
+ flag: 'https://restcountries.eu/data/bgd.svg',
+ currency: 'Bangladeshi taka'
+ },
+ {
+ name: 'Barbados',
+ capital: 'Bridgetown',
+ languages: ['English'],
+ population: 285000,
+ flag: 'https://restcountries.eu/data/brb.svg',
+ currency: 'Barbadian dollar'
+ },
+ {
+ name: 'Belarus',
+ capital: 'Minsk',
+ languages: ['Belarusian', 'Russian'],
+ population: 9498700,
+ flag: 'https://restcountries.eu/data/blr.svg',
+ currency: 'New Belarusian ruble'
+ },
+ {
+ name: 'Belgium',
+ capital: 'Brussels',
+ languages: ['Dutch', 'French', 'German'],
+ population: 11319511,
+ flag: 'https://restcountries.eu/data/bel.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Belize',
+ capital: 'Belmopan',
+ languages: ['English', 'Spanish'],
+ population: 370300,
+ flag: 'https://restcountries.eu/data/blz.svg',
+ currency: 'Belize dollar'
+ },
+ {
+ name: 'Benin',
+ capital: 'Porto-Novo',
+ languages: ['French'],
+ population: 10653654,
+ flag: 'https://restcountries.eu/data/ben.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Bermuda',
+ capital: 'Hamilton',
+ languages: ['English'],
+ population: 61954,
+ flag: 'https://restcountries.eu/data/bmu.svg',
+ currency: 'Bermudian dollar'
+ },
+ {
+ name: 'Bhutan',
+ capital: 'Thimphu',
+ languages: ['Dzongkha'],
+ population: 775620,
+ flag: 'https://restcountries.eu/data/btn.svg',
+ currency: 'Bhutanese ngultrum'
+ },
+ {
+ name: 'Bolivia (Plurinational State of)',
+ capital: 'Sucre',
+ languages: ['Spanish', 'Aymara', 'Quechua'],
+ population: 10985059,
+ flag: 'https://restcountries.eu/data/bol.svg',
+ currency: 'Bolivian boliviano'
+ },
+ {
+ name: 'Bonaire, Sint Eustatius and Saba',
+ capital: 'Kralendijk',
+ languages: ['Dutch'],
+ population: 17408,
+ flag: 'https://restcountries.eu/data/bes.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Bosnia and Herzegovina',
+ capital: 'Sarajevo',
+ languages: ['Bosnian', 'Croatian', 'Serbian'],
+ population: 3531159,
+ flag: 'https://restcountries.eu/data/bih.svg',
+ currency: 'Bosnia and Herzegovina convertible mark'
+ },
+ {
+ name: 'Botswana',
+ capital: 'Gaborone',
+ languages: ['English', 'Tswana'],
+ population: 2141206,
+ flag: 'https://restcountries.eu/data/bwa.svg',
+ currency: 'Botswana pula'
+ },
+ {
+ name: 'Bouvet Island',
+ capital: '',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/bvt.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Brazil',
+ capital: 'BrasĂlia',
+ languages: ['Portuguese'],
+ population: 206135893,
+ flag: 'https://restcountries.eu/data/bra.svg',
+ currency: 'Brazilian real'
+ },
+ {
+ name: 'British Indian Ocean Territory',
+ capital: 'Diego Garcia',
+ languages: ['English'],
+ population: 3000,
+ flag: 'https://restcountries.eu/data/iot.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'United States Minor Outlying Islands',
+ capital: '',
+ languages: ['English'],
+ population: 300,
+ flag: 'https://restcountries.eu/data/umi.svg',
+ currency: 'United States Dollar'
+ },
+ {
+ name: 'Virgin Islands (British)',
+ capital: 'Road Town',
+ languages: ['English'],
+ population: 28514,
+ flag: 'https://restcountries.eu/data/vgb.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Virgin Islands (U.S.)',
+ capital: 'Charlotte Amalie',
+ languages: ['English'],
+ population: 114743,
+ flag: 'https://restcountries.eu/data/vir.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Brunei Darussalam',
+ capital: 'Bandar Seri Begawan',
+ languages: ['Malay'],
+ population: 411900,
+ flag: 'https://restcountries.eu/data/brn.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Bulgaria',
+ capital: 'Sofia',
+ languages: ['Bulgarian'],
+ population: 7153784,
+ flag: 'https://restcountries.eu/data/bgr.svg',
+ currency: 'Bulgarian lev'
+ },
+ {
+ name: 'Burkina Faso',
+ capital: 'Ouagadougou',
+ languages: ['French', 'Fula'],
+ population: 19034397,
+ flag: 'https://restcountries.eu/data/bfa.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Burundi',
+ capital: 'Bujumbura',
+ languages: ['French', 'Kirundi'],
+ population: 10114505,
+ flag: 'https://restcountries.eu/data/bdi.svg',
+ currency: 'Burundian franc'
+ },
+ {
+ name: 'Cambodia',
+ capital: 'Phnom Penh',
+ languages: ['Khmer'],
+ population: 15626444,
+ flag: 'https://restcountries.eu/data/khm.svg',
+ currency: 'Cambodian riel'
+ },
+ {
+ name: 'Cameroon',
+ capital: 'Yaoundé',
+ languages: ['English', 'French'],
+ population: 22709892,
+ flag: 'https://restcountries.eu/data/cmr.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Canada',
+ capital: 'Ottawa',
+ languages: ['English', 'French'],
+ population: 36155487,
+ flag: 'https://restcountries.eu/data/can.svg',
+ currency: 'Canadian dollar'
+ },
+ {
+ name: 'Cabo Verde',
+ capital: 'Praia',
+ languages: ['Portuguese'],
+ population: 531239,
+ flag: 'https://restcountries.eu/data/cpv.svg',
+ currency: 'Cape Verdean escudo'
+ },
+ {
+ name: 'Cayman Islands',
+ capital: 'George Town',
+ languages: ['English'],
+ population: 58238,
+ flag: 'https://restcountries.eu/data/cym.svg',
+ currency: 'Cayman Islands dollar'
+ },
+ {
+ name: 'Central African Republic',
+ capital: 'Bangui',
+ languages: ['French', 'Sango'],
+ population: 4998000,
+ flag: 'https://restcountries.eu/data/caf.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chad',
+ capital: "N'Djamena",
+ languages: ['French', 'Arabic'],
+ population: 14497000,
+ flag: 'https://restcountries.eu/data/tcd.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chile',
+ capital: 'Santiago',
+ languages: ['Spanish'],
+ population: 18191900,
+ flag: 'https://restcountries.eu/data/chl.svg',
+ currency: 'Chilean peso'
+ },
+ {
+ name: 'China',
+ capital: 'Beijing',
+ languages: ['Chinese'],
+ population: 1377422166,
+ flag: 'https://restcountries.eu/data/chn.svg',
+ currency: 'Chinese yuan'
+ },
+ {
+ name: 'Christmas Island',
+ capital: 'Flying Fish Cove',
+ languages: ['English'],
+ population: 2072,
+ flag: 'https://restcountries.eu/data/cxr.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Cocos (Keeling) Islands',
+ capital: 'West Island',
+ languages: ['English'],
+ population: 550,
+ flag: 'https://restcountries.eu/data/cck.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Colombia',
+ capital: 'BogotĂĄ',
+ languages: ['Spanish'],
+ population: 48759958,
+ flag: 'https://restcountries.eu/data/col.svg',
+ currency: 'Colombian peso'
+ },
+ {
+ name: 'Comoros',
+ capital: 'Moroni',
+ languages: ['Arabic', 'French'],
+ population: 806153,
+ flag: 'https://restcountries.eu/data/com.svg',
+ currency: 'Comorian franc'
+ },
+ {
+ name: 'Congo',
+ capital: 'Brazzaville',
+ languages: ['French', 'Lingala'],
+ population: 4741000,
+ flag: 'https://restcountries.eu/data/cog.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Congo (Democratic Republic of the)',
+ capital: 'Kinshasa',
+ languages: ['French', 'Lingala', 'Kongo', 'Swahili', 'Luba-Katanga'],
+ population: 85026000,
+ flag: 'https://restcountries.eu/data/cod.svg',
+ currency: 'Congolese franc'
+ },
+ {
+ name: 'Cook Islands',
+ capital: 'Avarua',
+ languages: ['English'],
+ population: 18100,
+ flag: 'https://restcountries.eu/data/cok.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Costa Rica',
+ capital: 'San José',
+ languages: ['Spanish'],
+ population: 4890379,
+ flag: 'https://restcountries.eu/data/cri.svg',
+ currency: 'Costa Rican colĂłn'
+ },
+ {
+ name: 'Croatia',
+ capital: 'Zagreb',
+ languages: ['Croatian'],
+ population: 4190669,
+ flag: 'https://restcountries.eu/data/hrv.svg',
+ currency: 'Croatian kuna'
+ },
+ {
+ name: 'Cuba',
+ capital: 'Havana',
+ languages: ['Spanish'],
+ population: 11239004,
+ flag: 'https://restcountries.eu/data/cub.svg',
+ currency: 'Cuban convertible peso'
+ },
+ {
+ name: 'Curaçao',
+ capital: 'Willemstad',
+ languages: ['Dutch', '(Eastern) Punjabi', 'English'],
+ population: 154843,
+ flag: 'https://restcountries.eu/data/cuw.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Cyprus',
+ capital: 'Nicosia',
+ languages: ['Greek (modern)', 'Turkish', 'Armenian'],
+ population: 847000,
+ flag: 'https://restcountries.eu/data/cyp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Czech Republic',
+ capital: 'Prague',
+ languages: ['Czech', 'Slovak'],
+ population: 10558524,
+ flag: 'https://restcountries.eu/data/cze.svg',
+ currency: 'Czech koruna'
+ },
+ {
+ name: 'Denmark',
+ capital: 'Copenhagen',
+ languages: ['Danish'],
+ population: 5717014,
+ flag: 'https://restcountries.eu/data/dnk.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Djibouti',
+ capital: 'Djibouti',
+ languages: ['French', 'Arabic'],
+ population: 900000,
+ flag: 'https://restcountries.eu/data/dji.svg',
+ currency: 'Djiboutian franc'
+ },
+ {
+ name: 'Dominica',
+ capital: 'Roseau',
+ languages: ['English'],
+ population: 71293,
+ flag: 'https://restcountries.eu/data/dma.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Dominican Republic',
+ capital: 'Santo Domingo',
+ languages: ['Spanish'],
+ population: 10075045,
+ flag: 'https://restcountries.eu/data/dom.svg',
+ currency: 'Dominican peso'
+ },
+ {
+ name: 'Ecuador',
+ capital: 'Quito',
+ languages: ['Spanish'],
+ population: 16545799,
+ flag: 'https://restcountries.eu/data/ecu.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Egypt',
+ capital: 'Cairo',
+ languages: ['Arabic'],
+ population: 91290000,
+ flag: 'https://restcountries.eu/data/egy.svg',
+ currency: 'Egyptian pound'
+ },
+ {
+ name: 'El Salvador',
+ capital: 'San Salvador',
+ languages: ['Spanish'],
+ population: 6520675,
+ flag: 'https://restcountries.eu/data/slv.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Equatorial Guinea',
+ capital: 'Malabo',
+ languages: ['Spanish', 'French'],
+ population: 1222442,
+ flag: 'https://restcountries.eu/data/gnq.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Eritrea',
+ capital: 'Asmara',
+ languages: ['Tigrinya', 'Arabic', 'English'],
+ population: 5352000,
+ flag: 'https://restcountries.eu/data/eri.svg',
+ currency: 'Eritrean nakfa'
+ },
+ {
+ name: 'Estonia',
+ capital: 'Tallinn',
+ languages: ['Estonian'],
+ population: 1315944,
+ flag: 'https://restcountries.eu/data/est.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ethiopia',
+ capital: 'Addis Ababa',
+ languages: ['Amharic'],
+ population: 92206005,
+ flag: 'https://restcountries.eu/data/eth.svg',
+ currency: 'Ethiopian birr'
+ },
+ {
+ name: 'Falkland Islands (Malvinas)',
+ capital: 'Stanley',
+ languages: ['English'],
+ population: 2563,
+ flag: 'https://restcountries.eu/data/flk.svg',
+ currency: 'Falkland Islands pound'
+ },
+ {
+ name: 'Faroe Islands',
+ capital: 'TĂłrshavn',
+ languages: ['Faroese'],
+ population: 49376,
+ flag: 'https://restcountries.eu/data/fro.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Fiji',
+ capital: 'Suva',
+ languages: ['English', 'Fijian', 'Hindi', 'Urdu'],
+ population: 867000,
+ flag: 'https://restcountries.eu/data/fji.svg',
+ currency: 'Fijian dollar'
+ },
+ {
+ name: 'Finland',
+ capital: 'Helsinki',
+ languages: ['Finnish', 'Swedish'],
+ population: 5491817,
+ flag: 'https://restcountries.eu/data/fin.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'France',
+ capital: 'Paris',
+ languages: ['French'],
+ population: 66710000,
+ flag: 'https://restcountries.eu/data/fra.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Guiana',
+ capital: 'Cayenne',
+ languages: ['French'],
+ population: 254541,
+ flag: 'https://restcountries.eu/data/guf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Polynesia',
+ capital: 'PapeetÄ',
+ languages: ['French'],
+ population: 271800,
+ flag: 'https://restcountries.eu/data/pyf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'French Southern Territories',
+ capital: 'Port-aux-Français',
+ languages: ['French'],
+ population: 140,
+ flag: 'https://restcountries.eu/data/atf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Gabon',
+ capital: 'Libreville',
+ languages: ['French'],
+ population: 1802278,
+ flag: 'https://restcountries.eu/data/gab.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Gambia',
+ capital: 'Banjul',
+ languages: ['English'],
+ population: 1882450,
+ flag: 'https://restcountries.eu/data/gmb.svg',
+ currency: 'Gambian dalasi'
+ },
+ {
+ name: 'Georgia',
+ capital: 'Tbilisi',
+ languages: ['Georgian'],
+ population: 3720400,
+ flag: 'https://restcountries.eu/data/geo.svg',
+ currency: 'Georgian Lari'
+ },
+ {
+ name: 'Germany',
+ capital: 'Berlin',
+ languages: ['German'],
+ population: 81770900,
+ flag: 'https://restcountries.eu/data/deu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ghana',
+ capital: 'Accra',
+ languages: ['English'],
+ population: 27670174,
+ flag: 'https://restcountries.eu/data/gha.svg',
+ currency: 'Ghanaian cedi'
+ },
+ {
+ name: 'Gibraltar',
+ capital: 'Gibraltar',
+ languages: ['English'],
+ population: 33140,
+ flag: 'https://restcountries.eu/data/gib.svg',
+ currency: 'Gibraltar pound'
+ },
+ {
+ name: 'Greece',
+ capital: 'Athens',
+ languages: ['Greek (modern)'],
+ population: 10858018,
+ flag: 'https://restcountries.eu/data/grc.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Greenland',
+ capital: 'Nuuk',
+ languages: ['Kalaallisut'],
+ population: 55847,
+ flag: 'https://restcountries.eu/data/grl.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Grenada',
+ capital: "St. George's",
+ languages: ['English'],
+ population: 103328,
+ flag: 'https://restcountries.eu/data/grd.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Guadeloupe',
+ capital: 'Basse-Terre',
+ languages: ['French'],
+ population: 400132,
+ flag: 'https://restcountries.eu/data/glp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Guam',
+ capital: 'HagÄtña',
+ languages: ['English', 'Chamorro', 'Spanish'],
+ population: 184200,
+ flag: 'https://restcountries.eu/data/gum.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Guatemala',
+ capital: 'Guatemala City',
+ languages: ['Spanish'],
+ population: 16176133,
+ flag: 'https://restcountries.eu/data/gtm.svg',
+ currency: 'Guatemalan quetzal'
+ },
+ {
+ name: 'Guernsey',
+ capital: 'St. Peter Port',
+ languages: ['English', 'French'],
+ population: 62999,
+ flag: 'https://restcountries.eu/data/ggy.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Guinea',
+ capital: 'Conakry',
+ languages: ['French', 'Fula'],
+ population: 12947000,
+ flag: 'https://restcountries.eu/data/gin.svg',
+ currency: 'Guinean franc'
+ },
+ {
+ name: 'Guinea-Bissau',
+ capital: 'Bissau',
+ languages: ['Portuguese'],
+ population: 1547777,
+ flag: 'https://restcountries.eu/data/gnb.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Guyana',
+ capital: 'Georgetown',
+ languages: ['English'],
+ population: 746900,
+ flag: 'https://restcountries.eu/data/guy.svg',
+ currency: 'Guyanese dollar'
+ },
+ {
+ name: 'Haiti',
+ capital: 'Port-au-Prince',
+ languages: ['French', 'Haitian'],
+ population: 11078033,
+ flag: 'https://restcountries.eu/data/hti.svg',
+ currency: 'Haitian gourde'
+ },
+ {
+ name: 'Heard Island and McDonald Islands',
+ capital: '',
+ languages: ['English'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/hmd.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Holy See',
+ capital: 'Rome',
+ languages: ['Latin', 'Italian', 'French', 'German'],
+ population: 451,
+ flag: 'https://restcountries.eu/data/vat.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Honduras',
+ capital: 'Tegucigalpa',
+ languages: ['Spanish'],
+ population: 8576532,
+ flag: 'https://restcountries.eu/data/hnd.svg',
+ currency: 'Honduran lempira'
+ },
+ {
+ name: 'Hong Kong',
+ capital: 'City of Victoria',
+ languages: ['English', 'Chinese'],
+ population: 7324300,
+ flag: 'https://restcountries.eu/data/hkg.svg',
+ currency: 'Hong Kong dollar'
+ },
+ {
+ name: 'Hungary',
+ capital: 'Budapest',
+ languages: ['Hungarian'],
+ population: 9823000,
+ flag: 'https://restcountries.eu/data/hun.svg',
+ currency: 'Hungarian forint'
+ },
+ {
+ name: 'Iceland',
+ capital: 'ReykjavĂk',
+ languages: ['Icelandic'],
+ population: 334300,
+ flag: 'https://restcountries.eu/data/isl.svg',
+ currency: 'Icelandic krĂłna'
+ },
+ {
+ name: 'India',
+ capital: 'New Delhi',
+ languages: ['Hindi', 'English'],
+ population: 1295210000,
+ flag: 'https://restcountries.eu/data/ind.svg',
+ currency: 'Indian rupee'
+ },
+ {
+ name: 'Indonesia',
+ capital: 'Jakarta',
+ languages: ['Indonesian'],
+ population: 258705000,
+ flag: 'https://restcountries.eu/data/idn.svg',
+ currency: 'Indonesian rupiah'
+ },
+ {
+ name: "CĂŽte d'Ivoire",
+ capital: 'Yamoussoukro',
+ languages: ['French'],
+ population: 22671331,
+ flag: 'https://restcountries.eu/data/civ.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Iran (Islamic Republic of)',
+ capital: 'Tehran',
+ languages: ['Persian (Farsi)'],
+ population: 79369900,
+ flag: 'https://restcountries.eu/data/irn.svg',
+ currency: 'Iranian rial'
+ },
+ {
+ name: 'Iraq',
+ capital: 'Baghdad',
+ languages: ['Arabic', 'Kurdish'],
+ population: 37883543,
+ flag: 'https://restcountries.eu/data/irq.svg',
+ currency: 'Iraqi dinar'
+ },
+ {
+ name: 'Ireland',
+ capital: 'Dublin',
+ languages: ['Irish', 'English'],
+ population: 6378000,
+ flag: 'https://restcountries.eu/data/irl.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Isle of Man',
+ capital: 'Douglas',
+ languages: ['English', 'Manx'],
+ population: 84497,
+ flag: 'https://restcountries.eu/data/imn.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Israel',
+ capital: 'Jerusalem',
+ languages: ['Hebrew (modern)', 'Arabic'],
+ population: 8527400,
+ flag: 'https://restcountries.eu/data/isr.svg',
+ currency: 'Israeli new shekel'
+ },
+ {
+ name: 'Italy',
+ capital: 'Rome',
+ languages: ['Italian'],
+ population: 60665551,
+ flag: 'https://restcountries.eu/data/ita.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Jamaica',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2723246,
+ flag: 'https://restcountries.eu/data/jam.svg',
+ currency: 'Jamaican dollar'
+ },
+ {
+ name: 'Japan',
+ capital: 'Tokyo',
+ languages: ['Japanese'],
+ population: 126960000,
+ flag: 'https://restcountries.eu/data/jpn.svg',
+ currency: 'Japanese yen'
+ },
+ {
+ name: 'Jersey',
+ capital: 'Saint Helier',
+ languages: ['English', 'French'],
+ population: 100800,
+ flag: 'https://restcountries.eu/data/jey.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Jordan',
+ capital: 'Amman',
+ languages: ['Arabic'],
+ population: 9531712,
+ flag: 'https://restcountries.eu/data/jor.svg',
+ currency: 'Jordanian dinar'
+ },
+ {
+ name: 'Kazakhstan',
+ capital: 'Astana',
+ languages: ['Kazakh', 'Russian'],
+ population: 17753200,
+ flag: 'https://restcountries.eu/data/kaz.svg',
+ currency: 'Kazakhstani tenge'
+ },
+ {
+ name: 'Kenya',
+ capital: 'Nairobi',
+ languages: ['English', 'Swahili'],
+ population: 47251000,
+ flag: 'https://restcountries.eu/data/ken.svg',
+ currency: 'Kenyan shilling'
+ },
+ {
+ name: 'Kiribati',
+ capital: 'South Tarawa',
+ languages: ['English'],
+ population: 113400,
+ flag: 'https://restcountries.eu/data/kir.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Kuwait',
+ capital: 'Kuwait City',
+ languages: ['Arabic'],
+ population: 4183658,
+ flag: 'https://restcountries.eu/data/kwt.svg',
+ currency: 'Kuwaiti dinar'
+ },
+ {
+ name: 'Kyrgyzstan',
+ capital: 'Bishkek',
+ languages: ['Kyrgyz', 'Russian'],
+ population: 6047800,
+ flag: 'https://restcountries.eu/data/kgz.svg',
+ currency: 'Kyrgyzstani som'
+ },
+ {
+ name: "Lao People's Democratic Republic",
+ capital: 'Vientiane',
+ languages: ['Lao'],
+ population: 6492400,
+ flag: 'https://restcountries.eu/data/lao.svg',
+ currency: 'Lao kip'
+ },
+ {
+ name: 'Latvia',
+ capital: 'Riga',
+ languages: ['Latvian'],
+ population: 1961600,
+ flag: 'https://restcountries.eu/data/lva.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Lebanon',
+ capital: 'Beirut',
+ languages: ['Arabic', 'French'],
+ population: 5988000,
+ flag: 'https://restcountries.eu/data/lbn.svg',
+ currency: 'Lebanese pound'
+ },
+ {
+ name: 'Lesotho',
+ capital: 'Maseru',
+ languages: ['English', 'Southern Sotho'],
+ population: 1894194,
+ flag: 'https://restcountries.eu/data/lso.svg',
+ currency: 'Lesotho loti'
+ },
+ {
+ name: 'Liberia',
+ capital: 'Monrovia',
+ languages: ['English'],
+ population: 4615000,
+ flag: 'https://restcountries.eu/data/lbr.svg',
+ currency: 'Liberian dollar'
+ },
+ {
+ name: 'Libya',
+ capital: 'Tripoli',
+ languages: ['Arabic'],
+ population: 6385000,
+ flag: 'https://restcountries.eu/data/lby.svg',
+ currency: 'Libyan dinar'
+ },
+ {
+ name: 'Liechtenstein',
+ capital: 'Vaduz',
+ languages: ['German'],
+ population: 37623,
+ flag: 'https://restcountries.eu/data/lie.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Lithuania',
+ capital: 'Vilnius',
+ languages: ['Lithuanian'],
+ population: 2872294,
+ flag: 'https://restcountries.eu/data/ltu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Luxembourg',
+ capital: 'Luxembourg',
+ languages: ['French', 'German', 'Luxembourgish'],
+ population: 576200,
+ flag: 'https://restcountries.eu/data/lux.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Macao',
+ capital: '',
+ languages: ['Chinese', 'Portuguese'],
+ population: 649100,
+ flag: 'https://restcountries.eu/data/mac.svg',
+ currency: 'Macanese pataca'
+ },
+ {
+ name: 'Macedonia (the former Yugoslav Republic of)',
+ capital: 'Skopje',
+ languages: ['Macedonian'],
+ population: 2058539,
+ flag: 'https://restcountries.eu/data/mkd.svg',
+ currency: 'Macedonian denar'
+ },
+ {
+ name: 'Madagascar',
+ capital: 'Antananarivo',
+ languages: ['French', 'Malagasy'],
+ population: 22434363,
+ flag: 'https://restcountries.eu/data/mdg.svg',
+ currency: 'Malagasy ariary'
+ },
+ {
+ name: 'Malawi',
+ capital: 'Lilongwe',
+ languages: ['English', 'Chichewa'],
+ population: 16832910,
+ flag: 'https://restcountries.eu/data/mwi.svg',
+ currency: 'Malawian kwacha'
+ },
+ {
+ name: 'Malaysia',
+ capital: 'Kuala Lumpur',
+ languages: ['Malaysian'],
+ population: 31405416,
+ flag: 'https://restcountries.eu/data/mys.svg',
+ currency: 'Malaysian ringgit'
+ },
+ {
+ name: 'Maldives',
+ capital: 'Malé',
+ languages: ['Divehi'],
+ population: 344023,
+ flag: 'https://restcountries.eu/data/mdv.svg',
+ currency: 'Maldivian rufiyaa'
+ },
+ {
+ name: 'Mali',
+ capital: 'Bamako',
+ languages: ['French'],
+ population: 18135000,
+ flag: 'https://restcountries.eu/data/mli.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Malta',
+ capital: 'Valletta',
+ languages: ['Maltese', 'English'],
+ population: 425384,
+ flag: 'https://restcountries.eu/data/mlt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Marshall Islands',
+ capital: 'Majuro',
+ languages: ['English', 'Marshallese'],
+ population: 54880,
+ flag: 'https://restcountries.eu/data/mhl.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Martinique',
+ capital: 'Fort-de-France',
+ languages: ['French'],
+ population: 378243,
+ flag: 'https://restcountries.eu/data/mtq.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mauritania',
+ capital: 'Nouakchott',
+ languages: ['Arabic'],
+ population: 3718678,
+ flag: 'https://restcountries.eu/data/mrt.svg',
+ currency: 'Mauritanian ouguiya'
+ },
+ {
+ name: 'Mauritius',
+ capital: 'Port Louis',
+ languages: ['English'],
+ population: 1262879,
+ flag: 'https://restcountries.eu/data/mus.svg',
+ currency: 'Mauritian rupee'
+ },
+ {
+ name: 'Mayotte',
+ capital: 'Mamoudzou',
+ languages: ['French'],
+ population: 226915,
+ flag: 'https://restcountries.eu/data/myt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mexico',
+ capital: 'Mexico City',
+ languages: ['Spanish'],
+ population: 122273473,
+ flag: 'https://restcountries.eu/data/mex.svg',
+ currency: 'Mexican peso'
+ },
+ {
+ name: 'Micronesia (Federated States of)',
+ capital: 'Palikir',
+ languages: ['English'],
+ population: 102800,
+ flag: 'https://restcountries.eu/data/fsm.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Moldova (Republic of)',
+ capital: 'ChiÈinÄu',
+ languages: ['Romanian'],
+ population: 3553100,
+ flag: 'https://restcountries.eu/data/mda.svg',
+ currency: 'Moldovan leu'
+ },
+ {
+ name: 'Monaco',
+ capital: 'Monaco',
+ languages: ['French'],
+ population: 38400,
+ flag: 'https://restcountries.eu/data/mco.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mongolia',
+ capital: 'Ulan Bator',
+ languages: ['Mongolian'],
+ population: 3093100,
+ flag: 'https://restcountries.eu/data/mng.svg',
+ currency: 'Mongolian tögrög'
+ },
+ {
+ name: 'Montenegro',
+ capital: 'Podgorica',
+ languages: ['Serbian', 'Bosnian', 'Albanian', 'Croatian'],
+ population: 621810,
+ flag: 'https://restcountries.eu/data/mne.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Montserrat',
+ capital: 'Plymouth',
+ languages: ['English'],
+ population: 4922,
+ flag: 'https://restcountries.eu/data/msr.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Morocco',
+ capital: 'Rabat',
+ languages: ['Arabic'],
+ population: 33337529,
+ flag: 'https://restcountries.eu/data/mar.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Mozambique',
+ capital: 'Maputo',
+ languages: ['Portuguese'],
+ population: 26423700,
+ flag: 'https://restcountries.eu/data/moz.svg',
+ currency: 'Mozambican metical'
+ },
+ {
+ name: 'Myanmar',
+ capital: 'Naypyidaw',
+ languages: ['Burmese'],
+ population: 51419420,
+ flag: 'https://restcountries.eu/data/mmr.svg',
+ currency: 'Burmese kyat'
+ },
+ {
+ name: 'Namibia',
+ capital: 'Windhoek',
+ languages: ['English', 'Afrikaans'],
+ population: 2324388,
+ flag: 'https://restcountries.eu/data/nam.svg',
+ currency: 'Namibian dollar'
+ },
+ {
+ name: 'Nauru',
+ capital: 'Yaren',
+ languages: ['English', 'Nauruan'],
+ population: 10084,
+ flag: 'https://restcountries.eu/data/nru.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Nepal',
+ capital: 'Kathmandu',
+ languages: ['Nepali'],
+ population: 28431500,
+ flag: 'https://restcountries.eu/data/npl.svg',
+ currency: 'Nepalese rupee'
+ },
+ {
+ name: 'Netherlands',
+ capital: 'Amsterdam',
+ languages: ['Dutch'],
+ population: 17019800,
+ flag: 'https://restcountries.eu/data/nld.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'New Caledonia',
+ capital: 'Nouméa',
+ languages: ['French'],
+ population: 268767,
+ flag: 'https://restcountries.eu/data/ncl.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'New Zealand',
+ capital: 'Wellington',
+ languages: ['English', 'MÄori'],
+ population: 4697854,
+ flag: 'https://restcountries.eu/data/nzl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Nicaragua',
+ capital: 'Managua',
+ languages: ['Spanish'],
+ population: 6262703,
+ flag: 'https://restcountries.eu/data/nic.svg',
+ currency: 'Nicaraguan cĂłrdoba'
+ },
+ {
+ name: 'Niger',
+ capital: 'Niamey',
+ languages: ['French'],
+ population: 20715000,
+ flag: 'https://restcountries.eu/data/ner.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Nigeria',
+ capital: 'Abuja',
+ languages: ['English'],
+ population: 186988000,
+ flag: 'https://restcountries.eu/data/nga.svg',
+ currency: 'Nigerian naira'
+ },
+ {
+ name: 'Niue',
+ capital: 'Alofi',
+ languages: ['English'],
+ population: 1470,
+ flag: 'https://restcountries.eu/data/niu.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Norfolk Island',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2302,
+ flag: 'https://restcountries.eu/data/nfk.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: "Korea (Democratic People's Republic of)",
+ capital: 'Pyongyang',
+ languages: ['Korean'],
+ population: 25281000,
+ flag: 'https://restcountries.eu/data/prk.svg',
+ currency: 'North Korean won'
+ },
+ {
+ name: 'Northern Mariana Islands',
+ capital: 'Saipan',
+ languages: ['English', 'Chamorro'],
+ population: 56940,
+ flag: 'https://restcountries.eu/data/mnp.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Norway',
+ capital: 'Oslo',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 5223256,
+ flag: 'https://restcountries.eu/data/nor.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Oman',
+ capital: 'Muscat',
+ languages: ['Arabic'],
+ population: 4420133,
+ flag: 'https://restcountries.eu/data/omn.svg',
+ currency: 'Omani rial'
+ },
+ {
+ name: 'Pakistan',
+ capital: 'Islamabad',
+ languages: ['English', 'Urdu'],
+ population: 194125062,
+ flag: 'https://restcountries.eu/data/pak.svg',
+ currency: 'Pakistani rupee'
+ },
+ {
+ name: 'Palau',
+ capital: 'Ngerulmud',
+ languages: ['English'],
+ population: 17950,
+ flag: 'https://restcountries.eu/data/plw.svg',
+ currency: '[E]'
+ },
+ {
+ name: 'Palestine, State of',
+ capital: 'Ramallah',
+ languages: ['Arabic'],
+ population: 4682467,
+ flag: 'https://restcountries.eu/data/pse.svg',
+ currency: 'Israeli new sheqel'
+ },
+ {
+ name: 'Panama',
+ capital: 'Panama City',
+ languages: ['Spanish'],
+ population: 3814672,
+ flag: 'https://restcountries.eu/data/pan.svg',
+ currency: 'Panamanian balboa'
+ },
+ {
+ name: 'Papua New Guinea',
+ capital: 'Port Moresby',
+ languages: ['English'],
+ population: 8083700,
+ flag: 'https://restcountries.eu/data/png.svg',
+ currency: 'Papua New Guinean kina'
+ },
+ {
+ name: 'Paraguay',
+ capital: 'AsunciĂłn',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 6854536,
+ flag: 'https://restcountries.eu/data/pry.svg',
+ currency: 'Paraguayan guaranĂ'
+ },
+ {
+ name: 'Peru',
+ capital: 'Lima',
+ languages: ['Spanish'],
+ population: 31488700,
+ flag: 'https://restcountries.eu/data/per.svg',
+ currency: 'Peruvian sol'
+ },
+ {
+ name: 'Philippines',
+ capital: 'Manila',
+ languages: ['English'],
+ population: 103279800,
+ flag: 'https://restcountries.eu/data/phl.svg',
+ currency: 'Philippine peso'
+ },
+ {
+ name: 'Pitcairn',
+ capital: 'Adamstown',
+ languages: ['English'],
+ population: 56,
+ flag: 'https://restcountries.eu/data/pcn.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Poland',
+ capital: 'Warsaw',
+ languages: ['Polish'],
+ population: 38437239,
+ flag: 'https://restcountries.eu/data/pol.svg',
+ currency: 'Polish zĆoty'
+ },
+ {
+ name: 'Portugal',
+ capital: 'Lisbon',
+ languages: ['Portuguese'],
+ population: 10374822,
+ flag: 'https://restcountries.eu/data/prt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Puerto Rico',
+ capital: 'San Juan',
+ languages: ['Spanish', 'English'],
+ population: 3474182,
+ flag: 'https://restcountries.eu/data/pri.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Qatar',
+ capital: 'Doha',
+ languages: ['Arabic'],
+ population: 2587564,
+ flag: 'https://restcountries.eu/data/qat.svg',
+ currency: 'Qatari riyal'
+ },
+ {
+ name: 'Republic of Kosovo',
+ capital: 'Pristina',
+ languages: ['Albanian', 'Serbian'],
+ population: 1733842,
+ flag: 'https://restcountries.eu/data/kos.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Réunion',
+ capital: 'Saint-Denis',
+ languages: ['French'],
+ population: 840974,
+ flag: 'https://restcountries.eu/data/reu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Romania',
+ capital: 'Bucharest',
+ languages: ['Romanian'],
+ population: 19861408,
+ flag: 'https://restcountries.eu/data/rou.svg',
+ currency: 'Romanian leu'
+ },
+ {
+ name: 'Russian Federation',
+ capital: 'Moscow',
+ languages: ['Russian'],
+ population: 146599183,
+ flag: 'https://restcountries.eu/data/rus.svg',
+ currency: 'Russian ruble'
+ },
+ {
+ name: 'Rwanda',
+ capital: 'Kigali',
+ languages: ['Kinyarwanda', 'English', 'French'],
+ population: 11553188,
+ flag: 'https://restcountries.eu/data/rwa.svg',
+ currency: 'Rwandan franc'
+ },
+ {
+ name: 'Saint Barthélemy',
+ capital: 'Gustavia',
+ languages: ['French'],
+ population: 9417,
+ flag: 'https://restcountries.eu/data/blm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Helena, Ascension and Tristan da Cunha',
+ capital: 'Jamestown',
+ languages: ['English'],
+ population: 4255,
+ flag: 'https://restcountries.eu/data/shn.svg',
+ currency: 'Saint Helena pound'
+ },
+ {
+ name: 'Saint Kitts and Nevis',
+ capital: 'Basseterre',
+ languages: ['English'],
+ population: 46204,
+ flag: 'https://restcountries.eu/data/kna.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Lucia',
+ capital: 'Castries',
+ languages: ['English'],
+ population: 186000,
+ flag: 'https://restcountries.eu/data/lca.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Martin (French part)',
+ capital: 'Marigot',
+ languages: ['English', 'French', 'Dutch'],
+ population: 36979,
+ flag: 'https://restcountries.eu/data/maf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Pierre and Miquelon',
+ capital: 'Saint-Pierre',
+ languages: ['French'],
+ population: 6069,
+ flag: 'https://restcountries.eu/data/spm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Vincent and the Grenadines',
+ capital: 'Kingstown',
+ languages: ['English'],
+ population: 109991,
+ flag: 'https://restcountries.eu/data/vct.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Samoa',
+ capital: 'Apia',
+ languages: ['Samoan', 'English'],
+ population: 194899,
+ flag: 'https://restcountries.eu/data/wsm.svg',
+ currency: 'Samoan tÄlÄ'
+ },
+ {
+ name: 'San Marino',
+ capital: 'City of San Marino',
+ languages: ['Italian'],
+ population: 33005,
+ flag: 'https://restcountries.eu/data/smr.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sao Tome and Principe',
+ capital: 'São Tomé',
+ languages: ['Portuguese'],
+ population: 187356,
+ flag: 'https://restcountries.eu/data/stp.svg',
+ currency: 'SĂŁo TomĂ© and PrĂncipe dobra'
+ },
+ {
+ name: 'Saudi Arabia',
+ capital: 'Riyadh',
+ languages: ['Arabic'],
+ population: 32248200,
+ flag: 'https://restcountries.eu/data/sau.svg',
+ currency: 'Saudi riyal'
+ },
+ {
+ name: 'Senegal',
+ capital: 'Dakar',
+ languages: ['French'],
+ population: 14799859,
+ flag: 'https://restcountries.eu/data/sen.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Serbia',
+ capital: 'Belgrade',
+ languages: ['Serbian'],
+ population: 7076372,
+ flag: 'https://restcountries.eu/data/srb.svg',
+ currency: 'Serbian dinar'
+ },
+ {
+ name: 'Seychelles',
+ capital: 'Victoria',
+ languages: ['French', 'English'],
+ population: 91400,
+ flag: 'https://restcountries.eu/data/syc.svg',
+ currency: 'Seychellois rupee'
+ },
+ {
+ name: 'Sierra Leone',
+ capital: 'Freetown',
+ languages: ['English'],
+ population: 7075641,
+ flag: 'https://restcountries.eu/data/sle.svg',
+ currency: 'Sierra Leonean leone'
+ },
+ {
+ name: 'Singapore',
+ capital: 'Singapore',
+ languages: ['English', 'Malay', 'Tamil', 'Chinese'],
+ population: 5535000,
+ flag: 'https://restcountries.eu/data/sgp.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Sint Maarten (Dutch part)',
+ capital: 'Philipsburg',
+ languages: ['Dutch', 'English'],
+ population: 38247,
+ flag: 'https://restcountries.eu/data/sxm.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Slovakia',
+ capital: 'Bratislava',
+ languages: ['Slovak'],
+ population: 5426252,
+ flag: 'https://restcountries.eu/data/svk.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Slovenia',
+ capital: 'Ljubljana',
+ languages: ['Slovene'],
+ population: 2064188,
+ flag: 'https://restcountries.eu/data/svn.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Solomon Islands',
+ capital: 'Honiara',
+ languages: ['English'],
+ population: 642000,
+ flag: 'https://restcountries.eu/data/slb.svg',
+ currency: 'Solomon Islands dollar'
+ },
+ {
+ name: 'Somalia',
+ capital: 'Mogadishu',
+ languages: ['Somali', 'Arabic'],
+ population: 11079000,
+ flag: 'https://restcountries.eu/data/som.svg',
+ currency: 'Somali shilling'
+ },
+ {
+ name: 'South Africa',
+ capital: 'Pretoria',
+ languages: [
+ 'Afrikaans',
+ 'English',
+ 'Southern Ndebele',
+ 'Southern Sotho',
+ 'Swati',
+ 'Tswana',
+ 'Tsonga',
+ 'Venda',
+ 'Xhosa',
+ 'Zulu'
+ ],
+ population: 55653654,
+ flag: 'https://restcountries.eu/data/zaf.svg',
+ currency: 'South African rand'
+ },
+ {
+ name: 'South Georgia and the South Sandwich Islands',
+ capital: 'King Edward Point',
+ languages: ['English'],
+ population: 30,
+ flag: 'https://restcountries.eu/data/sgs.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Korea (Republic of)',
+ capital: 'Seoul',
+ languages: ['Korean'],
+ population: 50801405,
+ flag: 'https://restcountries.eu/data/kor.svg',
+ currency: 'South Korean won'
+ },
+ {
+ name: 'South Sudan',
+ capital: 'Juba',
+ languages: ['English'],
+ population: 12131000,
+ flag: 'https://restcountries.eu/data/ssd.svg',
+ currency: 'South Sudanese pound'
+ },
+ {
+ name: 'Spain',
+ capital: 'Madrid',
+ languages: ['Spanish'],
+ population: 46438422,
+ flag: 'https://restcountries.eu/data/esp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sri Lanka',
+ capital: 'Colombo',
+ languages: ['Sinhalese', 'Tamil'],
+ population: 20966000,
+ flag: 'https://restcountries.eu/data/lka.svg',
+ currency: 'Sri Lankan rupee'
+ },
+ {
+ name: 'Sudan',
+ capital: 'Khartoum',
+ languages: ['Arabic', 'English'],
+ population: 39598700,
+ flag: 'https://restcountries.eu/data/sdn.svg',
+ currency: 'Sudanese pound'
+ },
+ {
+ name: 'Suriname',
+ capital: 'Paramaribo',
+ languages: ['Dutch'],
+ population: 541638,
+ flag: 'https://restcountries.eu/data/sur.svg',
+ currency: 'Surinamese dollar'
+ },
+ {
+ name: 'Svalbard and Jan Mayen',
+ capital: 'Longyearbyen',
+ languages: ['Norwegian'],
+ population: 2562,
+ flag: 'https://restcountries.eu/data/sjm.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Swaziland',
+ capital: 'Lobamba',
+ languages: ['English', 'Swati'],
+ population: 1132657,
+ flag: 'https://restcountries.eu/data/swz.svg',
+ currency: 'Swazi lilangeni'
+ },
+ {
+ name: 'Sweden',
+ capital: 'Stockholm',
+ languages: ['Swedish'],
+ population: 9894888,
+ flag: 'https://restcountries.eu/data/swe.svg',
+ currency: 'Swedish krona'
+ },
+ {
+ name: 'Switzerland',
+ capital: 'Bern',
+ languages: ['German', 'French', 'Italian'],
+ population: 8341600,
+ flag: 'https://restcountries.eu/data/che.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Syrian Arab Republic',
+ capital: 'Damascus',
+ languages: ['Arabic'],
+ population: 18564000,
+ flag: 'https://restcountries.eu/data/syr.svg',
+ currency: 'Syrian pound'
+ },
+ {
+ name: 'Taiwan',
+ capital: 'Taipei',
+ languages: ['Chinese'],
+ population: 23503349,
+ flag: 'https://restcountries.eu/data/twn.svg',
+ currency: 'New Taiwan dollar'
+ },
+ {
+ name: 'Tajikistan',
+ capital: 'Dushanbe',
+ languages: ['Tajik', 'Russian'],
+ population: 8593600,
+ flag: 'https://restcountries.eu/data/tjk.svg',
+ currency: 'Tajikistani somoni'
+ },
+ {
+ name: 'Tanzania, United Republic of',
+ capital: 'Dodoma',
+ languages: ['Swahili', 'English'],
+ population: 55155000,
+ flag: 'https://restcountries.eu/data/tza.svg',
+ currency: 'Tanzanian shilling'
+ },
+ {
+ name: 'Thailand',
+ capital: 'Bangkok',
+ languages: ['Thai'],
+ population: 65327652,
+ flag: 'https://restcountries.eu/data/tha.svg',
+ currency: 'Thai baht'
+ },
+ {
+ name: 'Timor-Leste',
+ capital: 'Dili',
+ languages: ['Portuguese'],
+ population: 1167242,
+ flag: 'https://restcountries.eu/data/tls.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Togo',
+ capital: 'Lomé',
+ languages: ['French'],
+ population: 7143000,
+ flag: 'https://restcountries.eu/data/tgo.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Tokelau',
+ capital: 'Fakaofo',
+ languages: ['English'],
+ population: 1411,
+ flag: 'https://restcountries.eu/data/tkl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Tonga',
+ capital: "Nuku'alofa",
+ languages: ['English', 'Tonga (Tonga Islands)'],
+ population: 103252,
+ flag: 'https://restcountries.eu/data/ton.svg',
+ currency: 'Tongan paʻanga'
+ },
+ {
+ name: 'Trinidad and Tobago',
+ capital: 'Port of Spain',
+ languages: ['English'],
+ population: 1349667,
+ flag: 'https://restcountries.eu/data/tto.svg',
+ currency: 'Trinidad and Tobago dollar'
+ },
+ {
+ name: 'Tunisia',
+ capital: 'Tunis',
+ languages: ['Arabic'],
+ population: 11154400,
+ flag: 'https://restcountries.eu/data/tun.svg',
+ currency: 'Tunisian dinar'
+ },
+ {
+ name: 'Turkey',
+ capital: 'Ankara',
+ languages: ['Turkish'],
+ population: 78741053,
+ flag: 'https://restcountries.eu/data/tur.svg',
+ currency: 'Turkish lira'
+ },
+ {
+ name: 'Turkmenistan',
+ capital: 'Ashgabat',
+ languages: ['Turkmen', 'Russian'],
+ population: 4751120,
+ flag: 'https://restcountries.eu/data/tkm.svg',
+ currency: 'Turkmenistan manat'
+ },
+ {
+ name: 'Turks and Caicos Islands',
+ capital: 'Cockburn Town',
+ languages: ['English'],
+ population: 31458,
+ flag: 'https://restcountries.eu/data/tca.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Tuvalu',
+ capital: 'Funafuti',
+ languages: ['English'],
+ population: 10640,
+ flag: 'https://restcountries.eu/data/tuv.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Uganda',
+ capital: 'Kampala',
+ languages: ['English', 'Swahili'],
+ population: 33860700,
+ flag: 'https://restcountries.eu/data/uga.svg',
+ currency: 'Ugandan shilling'
+ },
+ {
+ name: 'Ukraine',
+ capital: 'Kiev',
+ languages: ['Ukrainian'],
+ population: 42692393,
+ flag: 'https://restcountries.eu/data/ukr.svg',
+ currency: 'Ukrainian hryvnia'
+ },
+ {
+ name: 'United Arab Emirates',
+ capital: 'Abu Dhabi',
+ languages: ['Arabic'],
+ population: 9856000,
+ flag: 'https://restcountries.eu/data/are.svg',
+ currency: 'United Arab Emirates dirham'
+ },
+ {
+ name: 'United Kingdom of Great Britain and Northern Ireland',
+ capital: 'London',
+ languages: ['English'],
+ population: 65110000,
+ flag: 'https://restcountries.eu/data/gbr.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'United States of America',
+ capital: 'Washington, D.C.',
+ languages: ['English'],
+ population: 323947000,
+ flag: 'https://restcountries.eu/data/usa.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Uruguay',
+ capital: 'Montevideo',
+ languages: ['Spanish'],
+ population: 3480222,
+ flag: 'https://restcountries.eu/data/ury.svg',
+ currency: 'Uruguayan peso'
+ },
+ {
+ name: 'Uzbekistan',
+ capital: 'Tashkent',
+ languages: ['Uzbek', 'Russian'],
+ population: 31576400,
+ flag: 'https://restcountries.eu/data/uzb.svg',
+ currency: "Uzbekistani so'm"
+ },
+ {
+ name: 'Vanuatu',
+ capital: 'Port Vila',
+ languages: ['Bislama', 'English', 'French'],
+ population: 277500,
+ flag: 'https://restcountries.eu/data/vut.svg',
+ currency: 'Vanuatu vatu'
+ },
+ {
+ name: 'Venezuela (Bolivarian Republic of)',
+ capital: 'Caracas',
+ languages: ['Spanish'],
+ population: 31028700,
+ flag: 'https://restcountries.eu/data/ven.svg',
+ currency: 'Venezuelan bolĂvar'
+ },
+ {
+ name: 'Viet Nam',
+ capital: 'Hanoi',
+ languages: ['Vietnamese'],
+ population: 92700000,
+ flag: 'https://restcountries.eu/data/vnm.svg',
+ currency: 'Vietnamese Äá»ng'
+ },
+ {
+ name: 'Wallis and Futuna',
+ capital: 'Mata-Utu',
+ languages: ['French'],
+ population: 11750,
+ flag: 'https://restcountries.eu/data/wlf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'Western Sahara',
+ capital: 'El AaiĂșn',
+ languages: ['Spanish'],
+ population: 510713,
+ flag: 'https://restcountries.eu/data/esh.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Yemen',
+ capital: "Sana'a",
+ languages: ['Arabic'],
+ population: 27478000,
+ flag: 'https://restcountries.eu/data/yem.svg',
+ currency: 'Yemeni rial'
+ },
+ {
+ name: 'Zambia',
+ capital: 'Lusaka',
+ languages: ['English'],
+ population: 15933883,
+ flag: 'https://restcountries.eu/data/zmb.svg',
+ currency: 'Zambian kwacha'
+ },
+ {
+ name: 'Zimbabwe',
+ capital: 'Harare',
+ languages: ['English', 'Shona', 'Northern Ndebele'],
+ population: 14240168,
+ flag: 'https://restcountries.eu/data/zwe.svg',
+ currency: 'Botswana pula'
+ }
+]
diff --git a/12_Day/12_day_starter/index.html b/12_Day/12_day_starter/index.html
new file mode 100644
index 0000000..6efcab4
--- /dev/null
+++ b/12_Day/12_day_starter/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ 30DaysOfJavaScript:11 Day
+
+
+
+ 30DaysOfJavaScript:11 Day
+ Destructuring and Spread
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/12_Day/12_day_starter/scripts/main.js b/12_Day/12_day_starter/scripts/main.js
new file mode 100644
index 0000000..c6045c8
--- /dev/null
+++ b/12_Day/12_day_starter/scripts/main.js
@@ -0,0 +1,2 @@
+console.log(countries)
+alert('Open the console and check if the countries has been loaded')
\ No newline at end of file
diff --git a/13_Day/13_day_console_object_methods.md b/13_Day/13_day_console_object_methods.md
new file mode 100644
index 0000000..01ba349
--- /dev/null
+++ b/13_Day/13_day_console_object_methods.md
@@ -0,0 +1,358 @@
+
+
+[<< Day 12](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/12_Day/12_day_regular_expressions.md) | [Day 14>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/14_Day/14_day_error_handling.md)
+
+
+
+- [Day 13](#day-13)
+ - [Console Object Methods](#console-object-methods)
+ - [console.log()](#consolelog)
+ - [console.warn()](#consolewarn)
+ - [console.error()](#consoleerror)
+ - [console.table()](#consoletable)
+ - [console.time()](#consoletime)
+ - [console.info()](#consoleinfo)
+ - [console.assert()](#consoleassert)
+ - [console.group()](#consolegroup)
+ - [console.count()](#consolecount)
+ - [console.clear()](#consoleclear)
+ - [Exercises](#exercises)
+ - [Exercises:Level 1](#exerciseslevel-1)
+ - [Exercises:Level 2](#exerciseslevel-2)
+ - [Exercises:Level 3](#exerciseslevel-3)
+
+# Day 13
+
+## Console Object Methods
+
+In this section, we will cover about console and console object methods. Absolute beginners usually do not know which to use: console.log(), document.write() or document.getElementById.
+
+We use console object methods to show output on the browser console and we use document.write to show output on the browser document(view port). Both methods used only for testing and debugging purposes. The console method is the most popular testing and debugging tool on the browser. We use document.getElementById() when we like to interact with DOM try using JavaScript. We will cover DOM in another section.
+
+In addition to the famous, console.log() method, the console provides other more methods methods.
+
+### console.log()
+
+We use console.log() to show output on the browser console. We can substitute values and also we can style the logging out put using %c.
+
+- Showing output on browser console
+
+```js
+console.log('30 Days of JavaScript')
+```
+
+```sh
+30 Days of JavaScript
+```
+
+- Substitution
+
+```js
+console.log('%d %s of JavaScript', 30, 'Days')
+```
+
+```sh
+30 Days of JavaScript
+```
+
+- CSS
+
+We can style logging message using css. Copy the following code and paste it on browser console to see the result.
+
+```js
+console.log('%c30 Days Of JavaScript', 'color:green') // log output is green
+console.log(
+ '%c30 Days%c %cOf%c %cJavaScript%c',
+ 'color:green',
+ '',
+ 'color:red',
+ '',
+ 'color:yellow'
+) // log output green red and yellow text
+```
+
+### console.warn()
+
+We use console.warn() to give warning on browser. For instance to inform or warn deprecation of version of a package or bad practices. Copy the following code and paste it on browser console to see warning messages.
+
+```js
+console.warn('This is a warning')
+console.warn(
+ 'You are using React. Do not touch the DOM. Virtual DOM will take care of handling the DOM!'
+)
+console.warn('Warning is different from error')
+```
+
+### console.error()
+
+The console.error() methods shows an error messages.
+
+```js
+console.error('This is an error message')
+console.error('We all make mistakes')
+```
+
+### console.table()
+
+The console.table() method display data as a table on the console. Displays tabular data as a table. The console.table() takes one required argument data, which must be an array or an object, and one additional optional parameter columns.
+
+Let us first start with a simple array. The code below displays a table with two columns. An index column to display the index and value column to display the names
+
+```js
+const names = ['Asabeneh', 'Brook', 'David', 'John']
+console.table(names)
+```
+
+Let us also check the result of an object. This creates table with two columns:an index column containing the keys and a value column contain the values of the object.
+
+```js
+const user = {
+ name: 'Asabeneh',
+ title: 'Programmer',
+ country: 'Finland',
+ city: 'Helsinki',
+ age: 250
+}
+console.table(user)
+```
+
+Check the rest of the examples by copying and paste on the browser console.
+
+```js
+const countries = [
+ ['Finland', 'Helsinki'],
+ ['Sweden', 'Stockholm'],
+ ['Norway', 'Oslo']
+]
+console.table(countries)
+```
+
+```js
+const users = [
+ {
+ name: 'Asabeneh',
+ title: 'Programmer',
+ country: 'Finland',
+ city: 'Helsinki',
+ age: 250
+ },
+ {
+ name: 'Eyob',
+ title: 'Teacher',
+ country: 'Sweden',
+ city: 'London',
+ age: 25
+ },
+ {
+ name: 'Asab',
+ title: 'Instructor',
+ country: 'Norway',
+ city: 'Oslo',
+ age: 22
+ },
+ {
+ name: 'Matias',
+ title: 'Developer',
+ country: 'Denmark',
+ city: 'Copenhagen',
+ age: 28
+ }
+]
+console.table(users)
+```
+
+### console.time()
+
+Starts a timer you can use to track how long an operation takes. You give each timer a unique name, and may have up to 10,000 timers running on a given page. When you call console.timeEnd() with the same name, the browser will output the time, in milliseconds, that elapsed since the timer was started.
+
+```js
+const countries = [
+ ['Finland', 'Helsinki'],
+ ['Sweden', 'Stockholm'],
+ ['Norway', 'Oslo']
+]
+
+console.time('Regular for loop')
+for (let i = 0; i < countries.length; i++) {
+ console.log(countries[i][0], countries[i][1])
+}
+console.timeEnd('Regular for loop')
+
+console.time('for of loop')
+for (const [name, city] of countries) {
+ console.log(name, city)
+}
+console.timeEnd('for of loop')
+
+console.time('forEach loop')
+countries.forEach(([name, city]) => {
+ console.log(name, city)
+})
+console.timeEnd('forEach loop')
+```
+
+```sh
+Finland Helsinki
+Sweden Stockholm
+Norway Oslo
+Regular for loop: 0.34716796875ms
+Finland Helsinki
+Sweden Stockholm
+Norway Oslo
+for of loop: 0.26806640625ms
+Finland Helsinki
+Sweden Stockholm
+Norway Oslo
+forEach loop: 0.358154296875ms
+```
+
+According the above output the regular for loop is slower than for of or forEach loop.
+
+### console.info()
+
+It display information message on browser console.
+
+```js
+console.info('30 Days Of JavaScript challenge is trending on Github')
+console.info('30 Days Of fullStack challenge might be released')
+console.info('30 Days Of HTML and CSS challenge might be released')
+```
+
+### console.assert()
+
+The console.assert() methods writes an error message to the console if the assertion is false. If the assertion is true, nothing happens. The first parameter is an assertion expression. If this expression is false, an Assertion failed error message will be displayed.
+
+```js
+console.assert(4 > 3, '4 is greater than 3') // no result
+console.assert(3 > 4, '3 is not greater than 4') // Assertion failed: 3 is not greater than 4
+
+for (let i = 0; i <= 10; i += 1) {
+ let errorMessage = `${i} is not even`
+ console.log('the # is ' + i)
+ console.assert(i % 2 === 0, { number: i, errorMessage: errorMessage })
+}
+```
+
+### console.group()
+
+The console.group() can help to group different log groups. Copy the following code and paste it on browser console to the groups.
+
+```js
+const names = ['Asabeneh', 'Brook', 'David', 'John']
+const countries = [
+ ['Finland', 'Helsinki'],
+ ['Sweden', 'Stockholm'],
+ ['Norway', 'Oslo']
+]
+const user = {
+ name: 'Asabeneh',
+ title: 'Programmer',
+ country: 'Finland',
+ city: 'Helsinki',
+ age: 250
+}
+const users = [
+ {
+ name: 'Asabeneh',
+ title: 'Programmer',
+ country: 'Finland',
+ city: 'Helsinki',
+ age: 250
+ },
+ {
+ name: 'Eyob',
+ title: 'Teacher',
+ country: 'Sweden',
+ city: 'London',
+ age: 25
+ },
+ {
+ name: 'Asab',
+ title: 'Instructor',
+ country: 'Norway',
+ city: 'Oslo',
+ age: 22
+ },
+ {
+ name: 'Matias',
+ title: 'Developer',
+ country: 'Denmark',
+ city: 'Copenhagen',
+ age: 28
+ }
+]
+
+console.group('Names')
+console.log(names)
+console.groupEnd()
+
+console.group('Countries')
+console.log(countries)
+console.groupEnd()
+
+console.group('Users')
+console.log(user)
+console.log(users)
+console.groupEnd()
+```
+
+### console.count()
+
+It prints the number of time this console.count() is called. It takes a string label parameter. It is very helpful to count the number of times a function is called. In the following example, the console.count() method will run three times
+
+```js
+const func = () => {
+ console.count('Function has been called')
+}
+func()
+func()
+func()
+```
+
+```sh
+Function has been called: 1
+Function has been called: 2
+Function has been called: 3
+```
+
+### console.clear()
+
+The console.clear() cleans the browser console.
+
+đ Keep up the good work. Keep pushing, the sky is the limit! You have just completed day 13 challenges and you are 13 steps a head in to your way to greatness. Now do some exercises for your brain and for your muscle.
+
+## Exercises
+
+### Exercises:Level 1
+
+1. Display the countries array as a table
+2. Display the countries object as a table
+3. Use console.group() to group logs
+
+### Exercises:Level 2
+
+1. 10 > 2 \* 10 use console.assert()
+2. Write a warning message using console.warn()
+3. Write an error message using console.error()
+
+### Exercises:Level 3
+
+1. Check the speed difference among the following loops: while, for, for of, forEach
+
+đ CONGRATULATIONS ! đ
+
+[<< Day 12](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/12_Day/12_day_regular_expressions.md) | [Day 14>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/14_Day/14_day_error_handling.md)
diff --git a/13_Day/13_day_starter/data/countries_data.js b/13_Day/13_day_starter/data/countries_data.js
new file mode 100644
index 0000000..92acddd
--- /dev/null
+++ b/13_Day/13_day_starter/data/countries_data.js
@@ -0,0 +1,2013 @@
+const countries = [
+ {
+ name: 'Afghanistan',
+ capital: 'Kabul',
+ languages: ['Pashto', 'Uzbek', 'Turkmen'],
+ population: 27657145,
+ flag: 'https://restcountries.eu/data/afg.svg',
+ currency: 'Afghan afghani'
+ },
+ {
+ name: 'Ă
land Islands',
+ capital: 'Mariehamn',
+ languages: ['Swedish'],
+ population: 28875,
+ flag: 'https://restcountries.eu/data/ala.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Albania',
+ capital: 'Tirana',
+ languages: ['Albanian'],
+ population: 2886026,
+ flag: 'https://restcountries.eu/data/alb.svg',
+ currency: 'Albanian lek'
+ },
+ {
+ name: 'Algeria',
+ capital: 'Algiers',
+ languages: ['Arabic'],
+ population: 40400000,
+ flag: 'https://restcountries.eu/data/dza.svg',
+ currency: 'Algerian dinar'
+ },
+ {
+ name: 'American Samoa',
+ capital: 'Pago Pago',
+ languages: ['English', 'Samoan'],
+ population: 57100,
+ flag: 'https://restcountries.eu/data/asm.svg',
+ currency: 'United State Dollar'
+ },
+ {
+ name: 'Andorra',
+ capital: 'Andorra la Vella',
+ languages: ['Catalan'],
+ population: 78014,
+ flag: 'https://restcountries.eu/data/and.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Angola',
+ capital: 'Luanda',
+ languages: ['Portuguese'],
+ population: 25868000,
+ flag: 'https://restcountries.eu/data/ago.svg',
+ currency: 'Angolan kwanza'
+ },
+ {
+ name: 'Anguilla',
+ capital: 'The Valley',
+ languages: ['English'],
+ population: 13452,
+ flag: 'https://restcountries.eu/data/aia.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Antarctica',
+ capital: '',
+ languages: ['English', 'Russian'],
+ population: 1000,
+ flag: 'https://restcountries.eu/data/ata.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Antigua and Barbuda',
+ capital: "Saint John's",
+ languages: ['English'],
+ population: 86295,
+ flag: 'https://restcountries.eu/data/atg.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Argentina',
+ capital: 'Buenos Aires',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 43590400,
+ flag: 'https://restcountries.eu/data/arg.svg',
+ currency: 'Argentine peso'
+ },
+ {
+ name: 'Armenia',
+ capital: 'Yerevan',
+ languages: ['Armenian', 'Russian'],
+ population: 2994400,
+ flag: 'https://restcountries.eu/data/arm.svg',
+ currency: 'Armenian dram'
+ },
+ {
+ name: 'Aruba',
+ capital: 'Oranjestad',
+ languages: ['Dutch', '(Eastern) Punjabi'],
+ population: 107394,
+ flag: 'https://restcountries.eu/data/abw.svg',
+ currency: 'Aruban florin'
+ },
+ {
+ name: 'Australia',
+ capital: 'Canberra',
+ languages: ['English'],
+ population: 24117360,
+ flag: 'https://restcountries.eu/data/aus.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Austria',
+ capital: 'Vienna',
+ languages: ['German'],
+ population: 8725931,
+ flag: 'https://restcountries.eu/data/aut.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Azerbaijan',
+ capital: 'Baku',
+ languages: ['Azerbaijani'],
+ population: 9730500,
+ flag: 'https://restcountries.eu/data/aze.svg',
+ currency: 'Azerbaijani manat'
+ },
+ {
+ name: 'Bahamas',
+ capital: 'Nassau',
+ languages: ['English'],
+ population: 378040,
+ flag: 'https://restcountries.eu/data/bhs.svg',
+ currency: 'Bahamian dollar'
+ },
+ {
+ name: 'Bahrain',
+ capital: 'Manama',
+ languages: ['Arabic'],
+ population: 1404900,
+ flag: 'https://restcountries.eu/data/bhr.svg',
+ currency: 'Bahraini dinar'
+ },
+ {
+ name: 'Bangladesh',
+ capital: 'Dhaka',
+ languages: ['Bengali'],
+ population: 161006790,
+ flag: 'https://restcountries.eu/data/bgd.svg',
+ currency: 'Bangladeshi taka'
+ },
+ {
+ name: 'Barbados',
+ capital: 'Bridgetown',
+ languages: ['English'],
+ population: 285000,
+ flag: 'https://restcountries.eu/data/brb.svg',
+ currency: 'Barbadian dollar'
+ },
+ {
+ name: 'Belarus',
+ capital: 'Minsk',
+ languages: ['Belarusian', 'Russian'],
+ population: 9498700,
+ flag: 'https://restcountries.eu/data/blr.svg',
+ currency: 'New Belarusian ruble'
+ },
+ {
+ name: 'Belgium',
+ capital: 'Brussels',
+ languages: ['Dutch', 'French', 'German'],
+ population: 11319511,
+ flag: 'https://restcountries.eu/data/bel.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Belize',
+ capital: 'Belmopan',
+ languages: ['English', 'Spanish'],
+ population: 370300,
+ flag: 'https://restcountries.eu/data/blz.svg',
+ currency: 'Belize dollar'
+ },
+ {
+ name: 'Benin',
+ capital: 'Porto-Novo',
+ languages: ['French'],
+ population: 10653654,
+ flag: 'https://restcountries.eu/data/ben.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Bermuda',
+ capital: 'Hamilton',
+ languages: ['English'],
+ population: 61954,
+ flag: 'https://restcountries.eu/data/bmu.svg',
+ currency: 'Bermudian dollar'
+ },
+ {
+ name: 'Bhutan',
+ capital: 'Thimphu',
+ languages: ['Dzongkha'],
+ population: 775620,
+ flag: 'https://restcountries.eu/data/btn.svg',
+ currency: 'Bhutanese ngultrum'
+ },
+ {
+ name: 'Bolivia (Plurinational State of)',
+ capital: 'Sucre',
+ languages: ['Spanish', 'Aymara', 'Quechua'],
+ population: 10985059,
+ flag: 'https://restcountries.eu/data/bol.svg',
+ currency: 'Bolivian boliviano'
+ },
+ {
+ name: 'Bonaire, Sint Eustatius and Saba',
+ capital: 'Kralendijk',
+ languages: ['Dutch'],
+ population: 17408,
+ flag: 'https://restcountries.eu/data/bes.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Bosnia and Herzegovina',
+ capital: 'Sarajevo',
+ languages: ['Bosnian', 'Croatian', 'Serbian'],
+ population: 3531159,
+ flag: 'https://restcountries.eu/data/bih.svg',
+ currency: 'Bosnia and Herzegovina convertible mark'
+ },
+ {
+ name: 'Botswana',
+ capital: 'Gaborone',
+ languages: ['English', 'Tswana'],
+ population: 2141206,
+ flag: 'https://restcountries.eu/data/bwa.svg',
+ currency: 'Botswana pula'
+ },
+ {
+ name: 'Bouvet Island',
+ capital: '',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/bvt.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Brazil',
+ capital: 'BrasĂlia',
+ languages: ['Portuguese'],
+ population: 206135893,
+ flag: 'https://restcountries.eu/data/bra.svg',
+ currency: 'Brazilian real'
+ },
+ {
+ name: 'British Indian Ocean Territory',
+ capital: 'Diego Garcia',
+ languages: ['English'],
+ population: 3000,
+ flag: 'https://restcountries.eu/data/iot.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'United States Minor Outlying Islands',
+ capital: '',
+ languages: ['English'],
+ population: 300,
+ flag: 'https://restcountries.eu/data/umi.svg',
+ currency: 'United States Dollar'
+ },
+ {
+ name: 'Virgin Islands (British)',
+ capital: 'Road Town',
+ languages: ['English'],
+ population: 28514,
+ flag: 'https://restcountries.eu/data/vgb.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Virgin Islands (U.S.)',
+ capital: 'Charlotte Amalie',
+ languages: ['English'],
+ population: 114743,
+ flag: 'https://restcountries.eu/data/vir.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Brunei Darussalam',
+ capital: 'Bandar Seri Begawan',
+ languages: ['Malay'],
+ population: 411900,
+ flag: 'https://restcountries.eu/data/brn.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Bulgaria',
+ capital: 'Sofia',
+ languages: ['Bulgarian'],
+ population: 7153784,
+ flag: 'https://restcountries.eu/data/bgr.svg',
+ currency: 'Bulgarian lev'
+ },
+ {
+ name: 'Burkina Faso',
+ capital: 'Ouagadougou',
+ languages: ['French', 'Fula'],
+ population: 19034397,
+ flag: 'https://restcountries.eu/data/bfa.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Burundi',
+ capital: 'Bujumbura',
+ languages: ['French', 'Kirundi'],
+ population: 10114505,
+ flag: 'https://restcountries.eu/data/bdi.svg',
+ currency: 'Burundian franc'
+ },
+ {
+ name: 'Cambodia',
+ capital: 'Phnom Penh',
+ languages: ['Khmer'],
+ population: 15626444,
+ flag: 'https://restcountries.eu/data/khm.svg',
+ currency: 'Cambodian riel'
+ },
+ {
+ name: 'Cameroon',
+ capital: 'Yaoundé',
+ languages: ['English', 'French'],
+ population: 22709892,
+ flag: 'https://restcountries.eu/data/cmr.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Canada',
+ capital: 'Ottawa',
+ languages: ['English', 'French'],
+ population: 36155487,
+ flag: 'https://restcountries.eu/data/can.svg',
+ currency: 'Canadian dollar'
+ },
+ {
+ name: 'Cabo Verde',
+ capital: 'Praia',
+ languages: ['Portuguese'],
+ population: 531239,
+ flag: 'https://restcountries.eu/data/cpv.svg',
+ currency: 'Cape Verdean escudo'
+ },
+ {
+ name: 'Cayman Islands',
+ capital: 'George Town',
+ languages: ['English'],
+ population: 58238,
+ flag: 'https://restcountries.eu/data/cym.svg',
+ currency: 'Cayman Islands dollar'
+ },
+ {
+ name: 'Central African Republic',
+ capital: 'Bangui',
+ languages: ['French', 'Sango'],
+ population: 4998000,
+ flag: 'https://restcountries.eu/data/caf.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chad',
+ capital: "N'Djamena",
+ languages: ['French', 'Arabic'],
+ population: 14497000,
+ flag: 'https://restcountries.eu/data/tcd.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chile',
+ capital: 'Santiago',
+ languages: ['Spanish'],
+ population: 18191900,
+ flag: 'https://restcountries.eu/data/chl.svg',
+ currency: 'Chilean peso'
+ },
+ {
+ name: 'China',
+ capital: 'Beijing',
+ languages: ['Chinese'],
+ population: 1377422166,
+ flag: 'https://restcountries.eu/data/chn.svg',
+ currency: 'Chinese yuan'
+ },
+ {
+ name: 'Christmas Island',
+ capital: 'Flying Fish Cove',
+ languages: ['English'],
+ population: 2072,
+ flag: 'https://restcountries.eu/data/cxr.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Cocos (Keeling) Islands',
+ capital: 'West Island',
+ languages: ['English'],
+ population: 550,
+ flag: 'https://restcountries.eu/data/cck.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Colombia',
+ capital: 'BogotĂĄ',
+ languages: ['Spanish'],
+ population: 48759958,
+ flag: 'https://restcountries.eu/data/col.svg',
+ currency: 'Colombian peso'
+ },
+ {
+ name: 'Comoros',
+ capital: 'Moroni',
+ languages: ['Arabic', 'French'],
+ population: 806153,
+ flag: 'https://restcountries.eu/data/com.svg',
+ currency: 'Comorian franc'
+ },
+ {
+ name: 'Congo',
+ capital: 'Brazzaville',
+ languages: ['French', 'Lingala'],
+ population: 4741000,
+ flag: 'https://restcountries.eu/data/cog.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Congo (Democratic Republic of the)',
+ capital: 'Kinshasa',
+ languages: ['French', 'Lingala', 'Kongo', 'Swahili', 'Luba-Katanga'],
+ population: 85026000,
+ flag: 'https://restcountries.eu/data/cod.svg',
+ currency: 'Congolese franc'
+ },
+ {
+ name: 'Cook Islands',
+ capital: 'Avarua',
+ languages: ['English'],
+ population: 18100,
+ flag: 'https://restcountries.eu/data/cok.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Costa Rica',
+ capital: 'San José',
+ languages: ['Spanish'],
+ population: 4890379,
+ flag: 'https://restcountries.eu/data/cri.svg',
+ currency: 'Costa Rican colĂłn'
+ },
+ {
+ name: 'Croatia',
+ capital: 'Zagreb',
+ languages: ['Croatian'],
+ population: 4190669,
+ flag: 'https://restcountries.eu/data/hrv.svg',
+ currency: 'Croatian kuna'
+ },
+ {
+ name: 'Cuba',
+ capital: 'Havana',
+ languages: ['Spanish'],
+ population: 11239004,
+ flag: 'https://restcountries.eu/data/cub.svg',
+ currency: 'Cuban convertible peso'
+ },
+ {
+ name: 'Curaçao',
+ capital: 'Willemstad',
+ languages: ['Dutch', '(Eastern) Punjabi', 'English'],
+ population: 154843,
+ flag: 'https://restcountries.eu/data/cuw.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Cyprus',
+ capital: 'Nicosia',
+ languages: ['Greek (modern)', 'Turkish', 'Armenian'],
+ population: 847000,
+ flag: 'https://restcountries.eu/data/cyp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Czech Republic',
+ capital: 'Prague',
+ languages: ['Czech', 'Slovak'],
+ population: 10558524,
+ flag: 'https://restcountries.eu/data/cze.svg',
+ currency: 'Czech koruna'
+ },
+ {
+ name: 'Denmark',
+ capital: 'Copenhagen',
+ languages: ['Danish'],
+ population: 5717014,
+ flag: 'https://restcountries.eu/data/dnk.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Djibouti',
+ capital: 'Djibouti',
+ languages: ['French', 'Arabic'],
+ population: 900000,
+ flag: 'https://restcountries.eu/data/dji.svg',
+ currency: 'Djiboutian franc'
+ },
+ {
+ name: 'Dominica',
+ capital: 'Roseau',
+ languages: ['English'],
+ population: 71293,
+ flag: 'https://restcountries.eu/data/dma.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Dominican Republic',
+ capital: 'Santo Domingo',
+ languages: ['Spanish'],
+ population: 10075045,
+ flag: 'https://restcountries.eu/data/dom.svg',
+ currency: 'Dominican peso'
+ },
+ {
+ name: 'Ecuador',
+ capital: 'Quito',
+ languages: ['Spanish'],
+ population: 16545799,
+ flag: 'https://restcountries.eu/data/ecu.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Egypt',
+ capital: 'Cairo',
+ languages: ['Arabic'],
+ population: 91290000,
+ flag: 'https://restcountries.eu/data/egy.svg',
+ currency: 'Egyptian pound'
+ },
+ {
+ name: 'El Salvador',
+ capital: 'San Salvador',
+ languages: ['Spanish'],
+ population: 6520675,
+ flag: 'https://restcountries.eu/data/slv.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Equatorial Guinea',
+ capital: 'Malabo',
+ languages: ['Spanish', 'French'],
+ population: 1222442,
+ flag: 'https://restcountries.eu/data/gnq.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Eritrea',
+ capital: 'Asmara',
+ languages: ['Tigrinya', 'Arabic', 'English'],
+ population: 5352000,
+ flag: 'https://restcountries.eu/data/eri.svg',
+ currency: 'Eritrean nakfa'
+ },
+ {
+ name: 'Estonia',
+ capital: 'Tallinn',
+ languages: ['Estonian'],
+ population: 1315944,
+ flag: 'https://restcountries.eu/data/est.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ethiopia',
+ capital: 'Addis Ababa',
+ languages: ['Amharic'],
+ population: 92206005,
+ flag: 'https://restcountries.eu/data/eth.svg',
+ currency: 'Ethiopian birr'
+ },
+ {
+ name: 'Falkland Islands (Malvinas)',
+ capital: 'Stanley',
+ languages: ['English'],
+ population: 2563,
+ flag: 'https://restcountries.eu/data/flk.svg',
+ currency: 'Falkland Islands pound'
+ },
+ {
+ name: 'Faroe Islands',
+ capital: 'TĂłrshavn',
+ languages: ['Faroese'],
+ population: 49376,
+ flag: 'https://restcountries.eu/data/fro.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Fiji',
+ capital: 'Suva',
+ languages: ['English', 'Fijian', 'Hindi', 'Urdu'],
+ population: 867000,
+ flag: 'https://restcountries.eu/data/fji.svg',
+ currency: 'Fijian dollar'
+ },
+ {
+ name: 'Finland',
+ capital: 'Helsinki',
+ languages: ['Finnish', 'Swedish'],
+ population: 5491817,
+ flag: 'https://restcountries.eu/data/fin.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'France',
+ capital: 'Paris',
+ languages: ['French'],
+ population: 66710000,
+ flag: 'https://restcountries.eu/data/fra.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Guiana',
+ capital: 'Cayenne',
+ languages: ['French'],
+ population: 254541,
+ flag: 'https://restcountries.eu/data/guf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Polynesia',
+ capital: 'PapeetÄ',
+ languages: ['French'],
+ population: 271800,
+ flag: 'https://restcountries.eu/data/pyf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'French Southern Territories',
+ capital: 'Port-aux-Français',
+ languages: ['French'],
+ population: 140,
+ flag: 'https://restcountries.eu/data/atf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Gabon',
+ capital: 'Libreville',
+ languages: ['French'],
+ population: 1802278,
+ flag: 'https://restcountries.eu/data/gab.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Gambia',
+ capital: 'Banjul',
+ languages: ['English'],
+ population: 1882450,
+ flag: 'https://restcountries.eu/data/gmb.svg',
+ currency: 'Gambian dalasi'
+ },
+ {
+ name: 'Georgia',
+ capital: 'Tbilisi',
+ languages: ['Georgian'],
+ population: 3720400,
+ flag: 'https://restcountries.eu/data/geo.svg',
+ currency: 'Georgian Lari'
+ },
+ {
+ name: 'Germany',
+ capital: 'Berlin',
+ languages: ['German'],
+ population: 81770900,
+ flag: 'https://restcountries.eu/data/deu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ghana',
+ capital: 'Accra',
+ languages: ['English'],
+ population: 27670174,
+ flag: 'https://restcountries.eu/data/gha.svg',
+ currency: 'Ghanaian cedi'
+ },
+ {
+ name: 'Gibraltar',
+ capital: 'Gibraltar',
+ languages: ['English'],
+ population: 33140,
+ flag: 'https://restcountries.eu/data/gib.svg',
+ currency: 'Gibraltar pound'
+ },
+ {
+ name: 'Greece',
+ capital: 'Athens',
+ languages: ['Greek (modern)'],
+ population: 10858018,
+ flag: 'https://restcountries.eu/data/grc.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Greenland',
+ capital: 'Nuuk',
+ languages: ['Kalaallisut'],
+ population: 55847,
+ flag: 'https://restcountries.eu/data/grl.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Grenada',
+ capital: "St. George's",
+ languages: ['English'],
+ population: 103328,
+ flag: 'https://restcountries.eu/data/grd.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Guadeloupe',
+ capital: 'Basse-Terre',
+ languages: ['French'],
+ population: 400132,
+ flag: 'https://restcountries.eu/data/glp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Guam',
+ capital: 'HagÄtña',
+ languages: ['English', 'Chamorro', 'Spanish'],
+ population: 184200,
+ flag: 'https://restcountries.eu/data/gum.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Guatemala',
+ capital: 'Guatemala City',
+ languages: ['Spanish'],
+ population: 16176133,
+ flag: 'https://restcountries.eu/data/gtm.svg',
+ currency: 'Guatemalan quetzal'
+ },
+ {
+ name: 'Guernsey',
+ capital: 'St. Peter Port',
+ languages: ['English', 'French'],
+ population: 62999,
+ flag: 'https://restcountries.eu/data/ggy.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Guinea',
+ capital: 'Conakry',
+ languages: ['French', 'Fula'],
+ population: 12947000,
+ flag: 'https://restcountries.eu/data/gin.svg',
+ currency: 'Guinean franc'
+ },
+ {
+ name: 'Guinea-Bissau',
+ capital: 'Bissau',
+ languages: ['Portuguese'],
+ population: 1547777,
+ flag: 'https://restcountries.eu/data/gnb.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Guyana',
+ capital: 'Georgetown',
+ languages: ['English'],
+ population: 746900,
+ flag: 'https://restcountries.eu/data/guy.svg',
+ currency: 'Guyanese dollar'
+ },
+ {
+ name: 'Haiti',
+ capital: 'Port-au-Prince',
+ languages: ['French', 'Haitian'],
+ population: 11078033,
+ flag: 'https://restcountries.eu/data/hti.svg',
+ currency: 'Haitian gourde'
+ },
+ {
+ name: 'Heard Island and McDonald Islands',
+ capital: '',
+ languages: ['English'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/hmd.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Holy See',
+ capital: 'Rome',
+ languages: ['Latin', 'Italian', 'French', 'German'],
+ population: 451,
+ flag: 'https://restcountries.eu/data/vat.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Honduras',
+ capital: 'Tegucigalpa',
+ languages: ['Spanish'],
+ population: 8576532,
+ flag: 'https://restcountries.eu/data/hnd.svg',
+ currency: 'Honduran lempira'
+ },
+ {
+ name: 'Hong Kong',
+ capital: 'City of Victoria',
+ languages: ['English', 'Chinese'],
+ population: 7324300,
+ flag: 'https://restcountries.eu/data/hkg.svg',
+ currency: 'Hong Kong dollar'
+ },
+ {
+ name: 'Hungary',
+ capital: 'Budapest',
+ languages: ['Hungarian'],
+ population: 9823000,
+ flag: 'https://restcountries.eu/data/hun.svg',
+ currency: 'Hungarian forint'
+ },
+ {
+ name: 'Iceland',
+ capital: 'ReykjavĂk',
+ languages: ['Icelandic'],
+ population: 334300,
+ flag: 'https://restcountries.eu/data/isl.svg',
+ currency: 'Icelandic krĂłna'
+ },
+ {
+ name: 'India',
+ capital: 'New Delhi',
+ languages: ['Hindi', 'English'],
+ population: 1295210000,
+ flag: 'https://restcountries.eu/data/ind.svg',
+ currency: 'Indian rupee'
+ },
+ {
+ name: 'Indonesia',
+ capital: 'Jakarta',
+ languages: ['Indonesian'],
+ population: 258705000,
+ flag: 'https://restcountries.eu/data/idn.svg',
+ currency: 'Indonesian rupiah'
+ },
+ {
+ name: "CĂŽte d'Ivoire",
+ capital: 'Yamoussoukro',
+ languages: ['French'],
+ population: 22671331,
+ flag: 'https://restcountries.eu/data/civ.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Iran (Islamic Republic of)',
+ capital: 'Tehran',
+ languages: ['Persian (Farsi)'],
+ population: 79369900,
+ flag: 'https://restcountries.eu/data/irn.svg',
+ currency: 'Iranian rial'
+ },
+ {
+ name: 'Iraq',
+ capital: 'Baghdad',
+ languages: ['Arabic', 'Kurdish'],
+ population: 37883543,
+ flag: 'https://restcountries.eu/data/irq.svg',
+ currency: 'Iraqi dinar'
+ },
+ {
+ name: 'Ireland',
+ capital: 'Dublin',
+ languages: ['Irish', 'English'],
+ population: 6378000,
+ flag: 'https://restcountries.eu/data/irl.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Isle of Man',
+ capital: 'Douglas',
+ languages: ['English', 'Manx'],
+ population: 84497,
+ flag: 'https://restcountries.eu/data/imn.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Israel',
+ capital: 'Jerusalem',
+ languages: ['Hebrew (modern)', 'Arabic'],
+ population: 8527400,
+ flag: 'https://restcountries.eu/data/isr.svg',
+ currency: 'Israeli new shekel'
+ },
+ {
+ name: 'Italy',
+ capital: 'Rome',
+ languages: ['Italian'],
+ population: 60665551,
+ flag: 'https://restcountries.eu/data/ita.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Jamaica',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2723246,
+ flag: 'https://restcountries.eu/data/jam.svg',
+ currency: 'Jamaican dollar'
+ },
+ {
+ name: 'Japan',
+ capital: 'Tokyo',
+ languages: ['Japanese'],
+ population: 126960000,
+ flag: 'https://restcountries.eu/data/jpn.svg',
+ currency: 'Japanese yen'
+ },
+ {
+ name: 'Jersey',
+ capital: 'Saint Helier',
+ languages: ['English', 'French'],
+ population: 100800,
+ flag: 'https://restcountries.eu/data/jey.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Jordan',
+ capital: 'Amman',
+ languages: ['Arabic'],
+ population: 9531712,
+ flag: 'https://restcountries.eu/data/jor.svg',
+ currency: 'Jordanian dinar'
+ },
+ {
+ name: 'Kazakhstan',
+ capital: 'Astana',
+ languages: ['Kazakh', 'Russian'],
+ population: 17753200,
+ flag: 'https://restcountries.eu/data/kaz.svg',
+ currency: 'Kazakhstani tenge'
+ },
+ {
+ name: 'Kenya',
+ capital: 'Nairobi',
+ languages: ['English', 'Swahili'],
+ population: 47251000,
+ flag: 'https://restcountries.eu/data/ken.svg',
+ currency: 'Kenyan shilling'
+ },
+ {
+ name: 'Kiribati',
+ capital: 'South Tarawa',
+ languages: ['English'],
+ population: 113400,
+ flag: 'https://restcountries.eu/data/kir.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Kuwait',
+ capital: 'Kuwait City',
+ languages: ['Arabic'],
+ population: 4183658,
+ flag: 'https://restcountries.eu/data/kwt.svg',
+ currency: 'Kuwaiti dinar'
+ },
+ {
+ name: 'Kyrgyzstan',
+ capital: 'Bishkek',
+ languages: ['Kyrgyz', 'Russian'],
+ population: 6047800,
+ flag: 'https://restcountries.eu/data/kgz.svg',
+ currency: 'Kyrgyzstani som'
+ },
+ {
+ name: "Lao People's Democratic Republic",
+ capital: 'Vientiane',
+ languages: ['Lao'],
+ population: 6492400,
+ flag: 'https://restcountries.eu/data/lao.svg',
+ currency: 'Lao kip'
+ },
+ {
+ name: 'Latvia',
+ capital: 'Riga',
+ languages: ['Latvian'],
+ population: 1961600,
+ flag: 'https://restcountries.eu/data/lva.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Lebanon',
+ capital: 'Beirut',
+ languages: ['Arabic', 'French'],
+ population: 5988000,
+ flag: 'https://restcountries.eu/data/lbn.svg',
+ currency: 'Lebanese pound'
+ },
+ {
+ name: 'Lesotho',
+ capital: 'Maseru',
+ languages: ['English', 'Southern Sotho'],
+ population: 1894194,
+ flag: 'https://restcountries.eu/data/lso.svg',
+ currency: 'Lesotho loti'
+ },
+ {
+ name: 'Liberia',
+ capital: 'Monrovia',
+ languages: ['English'],
+ population: 4615000,
+ flag: 'https://restcountries.eu/data/lbr.svg',
+ currency: 'Liberian dollar'
+ },
+ {
+ name: 'Libya',
+ capital: 'Tripoli',
+ languages: ['Arabic'],
+ population: 6385000,
+ flag: 'https://restcountries.eu/data/lby.svg',
+ currency: 'Libyan dinar'
+ },
+ {
+ name: 'Liechtenstein',
+ capital: 'Vaduz',
+ languages: ['German'],
+ population: 37623,
+ flag: 'https://restcountries.eu/data/lie.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Lithuania',
+ capital: 'Vilnius',
+ languages: ['Lithuanian'],
+ population: 2872294,
+ flag: 'https://restcountries.eu/data/ltu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Luxembourg',
+ capital: 'Luxembourg',
+ languages: ['French', 'German', 'Luxembourgish'],
+ population: 576200,
+ flag: 'https://restcountries.eu/data/lux.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Macao',
+ capital: '',
+ languages: ['Chinese', 'Portuguese'],
+ population: 649100,
+ flag: 'https://restcountries.eu/data/mac.svg',
+ currency: 'Macanese pataca'
+ },
+ {
+ name: 'Macedonia (the former Yugoslav Republic of)',
+ capital: 'Skopje',
+ languages: ['Macedonian'],
+ population: 2058539,
+ flag: 'https://restcountries.eu/data/mkd.svg',
+ currency: 'Macedonian denar'
+ },
+ {
+ name: 'Madagascar',
+ capital: 'Antananarivo',
+ languages: ['French', 'Malagasy'],
+ population: 22434363,
+ flag: 'https://restcountries.eu/data/mdg.svg',
+ currency: 'Malagasy ariary'
+ },
+ {
+ name: 'Malawi',
+ capital: 'Lilongwe',
+ languages: ['English', 'Chichewa'],
+ population: 16832910,
+ flag: 'https://restcountries.eu/data/mwi.svg',
+ currency: 'Malawian kwacha'
+ },
+ {
+ name: 'Malaysia',
+ capital: 'Kuala Lumpur',
+ languages: ['Malaysian'],
+ population: 31405416,
+ flag: 'https://restcountries.eu/data/mys.svg',
+ currency: 'Malaysian ringgit'
+ },
+ {
+ name: 'Maldives',
+ capital: 'Malé',
+ languages: ['Divehi'],
+ population: 344023,
+ flag: 'https://restcountries.eu/data/mdv.svg',
+ currency: 'Maldivian rufiyaa'
+ },
+ {
+ name: 'Mali',
+ capital: 'Bamako',
+ languages: ['French'],
+ population: 18135000,
+ flag: 'https://restcountries.eu/data/mli.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Malta',
+ capital: 'Valletta',
+ languages: ['Maltese', 'English'],
+ population: 425384,
+ flag: 'https://restcountries.eu/data/mlt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Marshall Islands',
+ capital: 'Majuro',
+ languages: ['English', 'Marshallese'],
+ population: 54880,
+ flag: 'https://restcountries.eu/data/mhl.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Martinique',
+ capital: 'Fort-de-France',
+ languages: ['French'],
+ population: 378243,
+ flag: 'https://restcountries.eu/data/mtq.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mauritania',
+ capital: 'Nouakchott',
+ languages: ['Arabic'],
+ population: 3718678,
+ flag: 'https://restcountries.eu/data/mrt.svg',
+ currency: 'Mauritanian ouguiya'
+ },
+ {
+ name: 'Mauritius',
+ capital: 'Port Louis',
+ languages: ['English'],
+ population: 1262879,
+ flag: 'https://restcountries.eu/data/mus.svg',
+ currency: 'Mauritian rupee'
+ },
+ {
+ name: 'Mayotte',
+ capital: 'Mamoudzou',
+ languages: ['French'],
+ population: 226915,
+ flag: 'https://restcountries.eu/data/myt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mexico',
+ capital: 'Mexico City',
+ languages: ['Spanish'],
+ population: 122273473,
+ flag: 'https://restcountries.eu/data/mex.svg',
+ currency: 'Mexican peso'
+ },
+ {
+ name: 'Micronesia (Federated States of)',
+ capital: 'Palikir',
+ languages: ['English'],
+ population: 102800,
+ flag: 'https://restcountries.eu/data/fsm.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Moldova (Republic of)',
+ capital: 'ChiÈinÄu',
+ languages: ['Romanian'],
+ population: 3553100,
+ flag: 'https://restcountries.eu/data/mda.svg',
+ currency: 'Moldovan leu'
+ },
+ {
+ name: 'Monaco',
+ capital: 'Monaco',
+ languages: ['French'],
+ population: 38400,
+ flag: 'https://restcountries.eu/data/mco.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mongolia',
+ capital: 'Ulan Bator',
+ languages: ['Mongolian'],
+ population: 3093100,
+ flag: 'https://restcountries.eu/data/mng.svg',
+ currency: 'Mongolian tögrög'
+ },
+ {
+ name: 'Montenegro',
+ capital: 'Podgorica',
+ languages: ['Serbian', 'Bosnian', 'Albanian', 'Croatian'],
+ population: 621810,
+ flag: 'https://restcountries.eu/data/mne.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Montserrat',
+ capital: 'Plymouth',
+ languages: ['English'],
+ population: 4922,
+ flag: 'https://restcountries.eu/data/msr.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Morocco',
+ capital: 'Rabat',
+ languages: ['Arabic'],
+ population: 33337529,
+ flag: 'https://restcountries.eu/data/mar.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Mozambique',
+ capital: 'Maputo',
+ languages: ['Portuguese'],
+ population: 26423700,
+ flag: 'https://restcountries.eu/data/moz.svg',
+ currency: 'Mozambican metical'
+ },
+ {
+ name: 'Myanmar',
+ capital: 'Naypyidaw',
+ languages: ['Burmese'],
+ population: 51419420,
+ flag: 'https://restcountries.eu/data/mmr.svg',
+ currency: 'Burmese kyat'
+ },
+ {
+ name: 'Namibia',
+ capital: 'Windhoek',
+ languages: ['English', 'Afrikaans'],
+ population: 2324388,
+ flag: 'https://restcountries.eu/data/nam.svg',
+ currency: 'Namibian dollar'
+ },
+ {
+ name: 'Nauru',
+ capital: 'Yaren',
+ languages: ['English', 'Nauruan'],
+ population: 10084,
+ flag: 'https://restcountries.eu/data/nru.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Nepal',
+ capital: 'Kathmandu',
+ languages: ['Nepali'],
+ population: 28431500,
+ flag: 'https://restcountries.eu/data/npl.svg',
+ currency: 'Nepalese rupee'
+ },
+ {
+ name: 'Netherlands',
+ capital: 'Amsterdam',
+ languages: ['Dutch'],
+ population: 17019800,
+ flag: 'https://restcountries.eu/data/nld.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'New Caledonia',
+ capital: 'Nouméa',
+ languages: ['French'],
+ population: 268767,
+ flag: 'https://restcountries.eu/data/ncl.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'New Zealand',
+ capital: 'Wellington',
+ languages: ['English', 'MÄori'],
+ population: 4697854,
+ flag: 'https://restcountries.eu/data/nzl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Nicaragua',
+ capital: 'Managua',
+ languages: ['Spanish'],
+ population: 6262703,
+ flag: 'https://restcountries.eu/data/nic.svg',
+ currency: 'Nicaraguan cĂłrdoba'
+ },
+ {
+ name: 'Niger',
+ capital: 'Niamey',
+ languages: ['French'],
+ population: 20715000,
+ flag: 'https://restcountries.eu/data/ner.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Nigeria',
+ capital: 'Abuja',
+ languages: ['English'],
+ population: 186988000,
+ flag: 'https://restcountries.eu/data/nga.svg',
+ currency: 'Nigerian naira'
+ },
+ {
+ name: 'Niue',
+ capital: 'Alofi',
+ languages: ['English'],
+ population: 1470,
+ flag: 'https://restcountries.eu/data/niu.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Norfolk Island',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2302,
+ flag: 'https://restcountries.eu/data/nfk.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: "Korea (Democratic People's Republic of)",
+ capital: 'Pyongyang',
+ languages: ['Korean'],
+ population: 25281000,
+ flag: 'https://restcountries.eu/data/prk.svg',
+ currency: 'North Korean won'
+ },
+ {
+ name: 'Northern Mariana Islands',
+ capital: 'Saipan',
+ languages: ['English', 'Chamorro'],
+ population: 56940,
+ flag: 'https://restcountries.eu/data/mnp.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Norway',
+ capital: 'Oslo',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 5223256,
+ flag: 'https://restcountries.eu/data/nor.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Oman',
+ capital: 'Muscat',
+ languages: ['Arabic'],
+ population: 4420133,
+ flag: 'https://restcountries.eu/data/omn.svg',
+ currency: 'Omani rial'
+ },
+ {
+ name: 'Pakistan',
+ capital: 'Islamabad',
+ languages: ['English', 'Urdu'],
+ population: 194125062,
+ flag: 'https://restcountries.eu/data/pak.svg',
+ currency: 'Pakistani rupee'
+ },
+ {
+ name: 'Palau',
+ capital: 'Ngerulmud',
+ languages: ['English'],
+ population: 17950,
+ flag: 'https://restcountries.eu/data/plw.svg',
+ currency: '[E]'
+ },
+ {
+ name: 'Palestine, State of',
+ capital: 'Ramallah',
+ languages: ['Arabic'],
+ population: 4682467,
+ flag: 'https://restcountries.eu/data/pse.svg',
+ currency: 'Israeli new sheqel'
+ },
+ {
+ name: 'Panama',
+ capital: 'Panama City',
+ languages: ['Spanish'],
+ population: 3814672,
+ flag: 'https://restcountries.eu/data/pan.svg',
+ currency: 'Panamanian balboa'
+ },
+ {
+ name: 'Papua New Guinea',
+ capital: 'Port Moresby',
+ languages: ['English'],
+ population: 8083700,
+ flag: 'https://restcountries.eu/data/png.svg',
+ currency: 'Papua New Guinean kina'
+ },
+ {
+ name: 'Paraguay',
+ capital: 'AsunciĂłn',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 6854536,
+ flag: 'https://restcountries.eu/data/pry.svg',
+ currency: 'Paraguayan guaranĂ'
+ },
+ {
+ name: 'Peru',
+ capital: 'Lima',
+ languages: ['Spanish'],
+ population: 31488700,
+ flag: 'https://restcountries.eu/data/per.svg',
+ currency: 'Peruvian sol'
+ },
+ {
+ name: 'Philippines',
+ capital: 'Manila',
+ languages: ['English'],
+ population: 103279800,
+ flag: 'https://restcountries.eu/data/phl.svg',
+ currency: 'Philippine peso'
+ },
+ {
+ name: 'Pitcairn',
+ capital: 'Adamstown',
+ languages: ['English'],
+ population: 56,
+ flag: 'https://restcountries.eu/data/pcn.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Poland',
+ capital: 'Warsaw',
+ languages: ['Polish'],
+ population: 38437239,
+ flag: 'https://restcountries.eu/data/pol.svg',
+ currency: 'Polish zĆoty'
+ },
+ {
+ name: 'Portugal',
+ capital: 'Lisbon',
+ languages: ['Portuguese'],
+ population: 10374822,
+ flag: 'https://restcountries.eu/data/prt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Puerto Rico',
+ capital: 'San Juan',
+ languages: ['Spanish', 'English'],
+ population: 3474182,
+ flag: 'https://restcountries.eu/data/pri.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Qatar',
+ capital: 'Doha',
+ languages: ['Arabic'],
+ population: 2587564,
+ flag: 'https://restcountries.eu/data/qat.svg',
+ currency: 'Qatari riyal'
+ },
+ {
+ name: 'Republic of Kosovo',
+ capital: 'Pristina',
+ languages: ['Albanian', 'Serbian'],
+ population: 1733842,
+ flag: 'https://restcountries.eu/data/kos.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Réunion',
+ capital: 'Saint-Denis',
+ languages: ['French'],
+ population: 840974,
+ flag: 'https://restcountries.eu/data/reu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Romania',
+ capital: 'Bucharest',
+ languages: ['Romanian'],
+ population: 19861408,
+ flag: 'https://restcountries.eu/data/rou.svg',
+ currency: 'Romanian leu'
+ },
+ {
+ name: 'Russian Federation',
+ capital: 'Moscow',
+ languages: ['Russian'],
+ population: 146599183,
+ flag: 'https://restcountries.eu/data/rus.svg',
+ currency: 'Russian ruble'
+ },
+ {
+ name: 'Rwanda',
+ capital: 'Kigali',
+ languages: ['Kinyarwanda', 'English', 'French'],
+ population: 11553188,
+ flag: 'https://restcountries.eu/data/rwa.svg',
+ currency: 'Rwandan franc'
+ },
+ {
+ name: 'Saint Barthélemy',
+ capital: 'Gustavia',
+ languages: ['French'],
+ population: 9417,
+ flag: 'https://restcountries.eu/data/blm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Helena, Ascension and Tristan da Cunha',
+ capital: 'Jamestown',
+ languages: ['English'],
+ population: 4255,
+ flag: 'https://restcountries.eu/data/shn.svg',
+ currency: 'Saint Helena pound'
+ },
+ {
+ name: 'Saint Kitts and Nevis',
+ capital: 'Basseterre',
+ languages: ['English'],
+ population: 46204,
+ flag: 'https://restcountries.eu/data/kna.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Lucia',
+ capital: 'Castries',
+ languages: ['English'],
+ population: 186000,
+ flag: 'https://restcountries.eu/data/lca.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Martin (French part)',
+ capital: 'Marigot',
+ languages: ['English', 'French', 'Dutch'],
+ population: 36979,
+ flag: 'https://restcountries.eu/data/maf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Pierre and Miquelon',
+ capital: 'Saint-Pierre',
+ languages: ['French'],
+ population: 6069,
+ flag: 'https://restcountries.eu/data/spm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Vincent and the Grenadines',
+ capital: 'Kingstown',
+ languages: ['English'],
+ population: 109991,
+ flag: 'https://restcountries.eu/data/vct.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Samoa',
+ capital: 'Apia',
+ languages: ['Samoan', 'English'],
+ population: 194899,
+ flag: 'https://restcountries.eu/data/wsm.svg',
+ currency: 'Samoan tÄlÄ'
+ },
+ {
+ name: 'San Marino',
+ capital: 'City of San Marino',
+ languages: ['Italian'],
+ population: 33005,
+ flag: 'https://restcountries.eu/data/smr.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sao Tome and Principe',
+ capital: 'São Tomé',
+ languages: ['Portuguese'],
+ population: 187356,
+ flag: 'https://restcountries.eu/data/stp.svg',
+ currency: 'SĂŁo TomĂ© and PrĂncipe dobra'
+ },
+ {
+ name: 'Saudi Arabia',
+ capital: 'Riyadh',
+ languages: ['Arabic'],
+ population: 32248200,
+ flag: 'https://restcountries.eu/data/sau.svg',
+ currency: 'Saudi riyal'
+ },
+ {
+ name: 'Senegal',
+ capital: 'Dakar',
+ languages: ['French'],
+ population: 14799859,
+ flag: 'https://restcountries.eu/data/sen.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Serbia',
+ capital: 'Belgrade',
+ languages: ['Serbian'],
+ population: 7076372,
+ flag: 'https://restcountries.eu/data/srb.svg',
+ currency: 'Serbian dinar'
+ },
+ {
+ name: 'Seychelles',
+ capital: 'Victoria',
+ languages: ['French', 'English'],
+ population: 91400,
+ flag: 'https://restcountries.eu/data/syc.svg',
+ currency: 'Seychellois rupee'
+ },
+ {
+ name: 'Sierra Leone',
+ capital: 'Freetown',
+ languages: ['English'],
+ population: 7075641,
+ flag: 'https://restcountries.eu/data/sle.svg',
+ currency: 'Sierra Leonean leone'
+ },
+ {
+ name: 'Singapore',
+ capital: 'Singapore',
+ languages: ['English', 'Malay', 'Tamil', 'Chinese'],
+ population: 5535000,
+ flag: 'https://restcountries.eu/data/sgp.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Sint Maarten (Dutch part)',
+ capital: 'Philipsburg',
+ languages: ['Dutch', 'English'],
+ population: 38247,
+ flag: 'https://restcountries.eu/data/sxm.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Slovakia',
+ capital: 'Bratislava',
+ languages: ['Slovak'],
+ population: 5426252,
+ flag: 'https://restcountries.eu/data/svk.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Slovenia',
+ capital: 'Ljubljana',
+ languages: ['Slovene'],
+ population: 2064188,
+ flag: 'https://restcountries.eu/data/svn.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Solomon Islands',
+ capital: 'Honiara',
+ languages: ['English'],
+ population: 642000,
+ flag: 'https://restcountries.eu/data/slb.svg',
+ currency: 'Solomon Islands dollar'
+ },
+ {
+ name: 'Somalia',
+ capital: 'Mogadishu',
+ languages: ['Somali', 'Arabic'],
+ population: 11079000,
+ flag: 'https://restcountries.eu/data/som.svg',
+ currency: 'Somali shilling'
+ },
+ {
+ name: 'South Africa',
+ capital: 'Pretoria',
+ languages: [
+ 'Afrikaans',
+ 'English',
+ 'Southern Ndebele',
+ 'Southern Sotho',
+ 'Swati',
+ 'Tswana',
+ 'Tsonga',
+ 'Venda',
+ 'Xhosa',
+ 'Zulu'
+ ],
+ population: 55653654,
+ flag: 'https://restcountries.eu/data/zaf.svg',
+ currency: 'South African rand'
+ },
+ {
+ name: 'South Georgia and the South Sandwich Islands',
+ capital: 'King Edward Point',
+ languages: ['English'],
+ population: 30,
+ flag: 'https://restcountries.eu/data/sgs.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Korea (Republic of)',
+ capital: 'Seoul',
+ languages: ['Korean'],
+ population: 50801405,
+ flag: 'https://restcountries.eu/data/kor.svg',
+ currency: 'South Korean won'
+ },
+ {
+ name: 'South Sudan',
+ capital: 'Juba',
+ languages: ['English'],
+ population: 12131000,
+ flag: 'https://restcountries.eu/data/ssd.svg',
+ currency: 'South Sudanese pound'
+ },
+ {
+ name: 'Spain',
+ capital: 'Madrid',
+ languages: ['Spanish'],
+ population: 46438422,
+ flag: 'https://restcountries.eu/data/esp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sri Lanka',
+ capital: 'Colombo',
+ languages: ['Sinhalese', 'Tamil'],
+ population: 20966000,
+ flag: 'https://restcountries.eu/data/lka.svg',
+ currency: 'Sri Lankan rupee'
+ },
+ {
+ name: 'Sudan',
+ capital: 'Khartoum',
+ languages: ['Arabic', 'English'],
+ population: 39598700,
+ flag: 'https://restcountries.eu/data/sdn.svg',
+ currency: 'Sudanese pound'
+ },
+ {
+ name: 'Suriname',
+ capital: 'Paramaribo',
+ languages: ['Dutch'],
+ population: 541638,
+ flag: 'https://restcountries.eu/data/sur.svg',
+ currency: 'Surinamese dollar'
+ },
+ {
+ name: 'Svalbard and Jan Mayen',
+ capital: 'Longyearbyen',
+ languages: ['Norwegian'],
+ population: 2562,
+ flag: 'https://restcountries.eu/data/sjm.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Swaziland',
+ capital: 'Lobamba',
+ languages: ['English', 'Swati'],
+ population: 1132657,
+ flag: 'https://restcountries.eu/data/swz.svg',
+ currency: 'Swazi lilangeni'
+ },
+ {
+ name: 'Sweden',
+ capital: 'Stockholm',
+ languages: ['Swedish'],
+ population: 9894888,
+ flag: 'https://restcountries.eu/data/swe.svg',
+ currency: 'Swedish krona'
+ },
+ {
+ name: 'Switzerland',
+ capital: 'Bern',
+ languages: ['German', 'French', 'Italian'],
+ population: 8341600,
+ flag: 'https://restcountries.eu/data/che.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Syrian Arab Republic',
+ capital: 'Damascus',
+ languages: ['Arabic'],
+ population: 18564000,
+ flag: 'https://restcountries.eu/data/syr.svg',
+ currency: 'Syrian pound'
+ },
+ {
+ name: 'Taiwan',
+ capital: 'Taipei',
+ languages: ['Chinese'],
+ population: 23503349,
+ flag: 'https://restcountries.eu/data/twn.svg',
+ currency: 'New Taiwan dollar'
+ },
+ {
+ name: 'Tajikistan',
+ capital: 'Dushanbe',
+ languages: ['Tajik', 'Russian'],
+ population: 8593600,
+ flag: 'https://restcountries.eu/data/tjk.svg',
+ currency: 'Tajikistani somoni'
+ },
+ {
+ name: 'Tanzania, United Republic of',
+ capital: 'Dodoma',
+ languages: ['Swahili', 'English'],
+ population: 55155000,
+ flag: 'https://restcountries.eu/data/tza.svg',
+ currency: 'Tanzanian shilling'
+ },
+ {
+ name: 'Thailand',
+ capital: 'Bangkok',
+ languages: ['Thai'],
+ population: 65327652,
+ flag: 'https://restcountries.eu/data/tha.svg',
+ currency: 'Thai baht'
+ },
+ {
+ name: 'Timor-Leste',
+ capital: 'Dili',
+ languages: ['Portuguese'],
+ population: 1167242,
+ flag: 'https://restcountries.eu/data/tls.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Togo',
+ capital: 'Lomé',
+ languages: ['French'],
+ population: 7143000,
+ flag: 'https://restcountries.eu/data/tgo.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Tokelau',
+ capital: 'Fakaofo',
+ languages: ['English'],
+ population: 1411,
+ flag: 'https://restcountries.eu/data/tkl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Tonga',
+ capital: "Nuku'alofa",
+ languages: ['English', 'Tonga (Tonga Islands)'],
+ population: 103252,
+ flag: 'https://restcountries.eu/data/ton.svg',
+ currency: 'Tongan paʻanga'
+ },
+ {
+ name: 'Trinidad and Tobago',
+ capital: 'Port of Spain',
+ languages: ['English'],
+ population: 1349667,
+ flag: 'https://restcountries.eu/data/tto.svg',
+ currency: 'Trinidad and Tobago dollar'
+ },
+ {
+ name: 'Tunisia',
+ capital: 'Tunis',
+ languages: ['Arabic'],
+ population: 11154400,
+ flag: 'https://restcountries.eu/data/tun.svg',
+ currency: 'Tunisian dinar'
+ },
+ {
+ name: 'Turkey',
+ capital: 'Ankara',
+ languages: ['Turkish'],
+ population: 78741053,
+ flag: 'https://restcountries.eu/data/tur.svg',
+ currency: 'Turkish lira'
+ },
+ {
+ name: 'Turkmenistan',
+ capital: 'Ashgabat',
+ languages: ['Turkmen', 'Russian'],
+ population: 4751120,
+ flag: 'https://restcountries.eu/data/tkm.svg',
+ currency: 'Turkmenistan manat'
+ },
+ {
+ name: 'Turks and Caicos Islands',
+ capital: 'Cockburn Town',
+ languages: ['English'],
+ population: 31458,
+ flag: 'https://restcountries.eu/data/tca.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Tuvalu',
+ capital: 'Funafuti',
+ languages: ['English'],
+ population: 10640,
+ flag: 'https://restcountries.eu/data/tuv.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Uganda',
+ capital: 'Kampala',
+ languages: ['English', 'Swahili'],
+ population: 33860700,
+ flag: 'https://restcountries.eu/data/uga.svg',
+ currency: 'Ugandan shilling'
+ },
+ {
+ name: 'Ukraine',
+ capital: 'Kiev',
+ languages: ['Ukrainian'],
+ population: 42692393,
+ flag: 'https://restcountries.eu/data/ukr.svg',
+ currency: 'Ukrainian hryvnia'
+ },
+ {
+ name: 'United Arab Emirates',
+ capital: 'Abu Dhabi',
+ languages: ['Arabic'],
+ population: 9856000,
+ flag: 'https://restcountries.eu/data/are.svg',
+ currency: 'United Arab Emirates dirham'
+ },
+ {
+ name: 'United Kingdom of Great Britain and Northern Ireland',
+ capital: 'London',
+ languages: ['English'],
+ population: 65110000,
+ flag: 'https://restcountries.eu/data/gbr.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'United States of America',
+ capital: 'Washington, D.C.',
+ languages: ['English'],
+ population: 323947000,
+ flag: 'https://restcountries.eu/data/usa.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Uruguay',
+ capital: 'Montevideo',
+ languages: ['Spanish'],
+ population: 3480222,
+ flag: 'https://restcountries.eu/data/ury.svg',
+ currency: 'Uruguayan peso'
+ },
+ {
+ name: 'Uzbekistan',
+ capital: 'Tashkent',
+ languages: ['Uzbek', 'Russian'],
+ population: 31576400,
+ flag: 'https://restcountries.eu/data/uzb.svg',
+ currency: "Uzbekistani so'm"
+ },
+ {
+ name: 'Vanuatu',
+ capital: 'Port Vila',
+ languages: ['Bislama', 'English', 'French'],
+ population: 277500,
+ flag: 'https://restcountries.eu/data/vut.svg',
+ currency: 'Vanuatu vatu'
+ },
+ {
+ name: 'Venezuela (Bolivarian Republic of)',
+ capital: 'Caracas',
+ languages: ['Spanish'],
+ population: 31028700,
+ flag: 'https://restcountries.eu/data/ven.svg',
+ currency: 'Venezuelan bolĂvar'
+ },
+ {
+ name: 'Viet Nam',
+ capital: 'Hanoi',
+ languages: ['Vietnamese'],
+ population: 92700000,
+ flag: 'https://restcountries.eu/data/vnm.svg',
+ currency: 'Vietnamese Äá»ng'
+ },
+ {
+ name: 'Wallis and Futuna',
+ capital: 'Mata-Utu',
+ languages: ['French'],
+ population: 11750,
+ flag: 'https://restcountries.eu/data/wlf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'Western Sahara',
+ capital: 'El AaiĂșn',
+ languages: ['Spanish'],
+ population: 510713,
+ flag: 'https://restcountries.eu/data/esh.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Yemen',
+ capital: "Sana'a",
+ languages: ['Arabic'],
+ population: 27478000,
+ flag: 'https://restcountries.eu/data/yem.svg',
+ currency: 'Yemeni rial'
+ },
+ {
+ name: 'Zambia',
+ capital: 'Lusaka',
+ languages: ['English'],
+ population: 15933883,
+ flag: 'https://restcountries.eu/data/zmb.svg',
+ currency: 'Zambian kwacha'
+ },
+ {
+ name: 'Zimbabwe',
+ capital: 'Harare',
+ languages: ['English', 'Shona', 'Northern Ndebele'],
+ population: 14240168,
+ flag: 'https://restcountries.eu/data/zwe.svg',
+ currency: 'Botswana pula'
+ }
+]
diff --git a/13_Day/13_day_starter/index.html b/13_Day/13_day_starter/index.html
new file mode 100644
index 0000000..977daaf
--- /dev/null
+++ b/13_Day/13_day_starter/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ 30DaysOfJavaScript:13 Day
+
+
+
+ 30DaysOfJavaScript:13 Day
+ Console Object Methods
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/13_Day/13_day_starter/scripts/main.js b/13_Day/13_day_starter/scripts/main.js
new file mode 100644
index 0000000..c6045c8
--- /dev/null
+++ b/13_Day/13_day_starter/scripts/main.js
@@ -0,0 +1,2 @@
+console.log(countries)
+alert('Open the console and check if the countries has been loaded')
\ No newline at end of file
diff --git a/14_Day/14_day_error_handling.md b/14_Day/14_day_error_handling.md
new file mode 100644
index 0000000..e431486
--- /dev/null
+++ b/14_Day/14_day_error_handling.md
@@ -0,0 +1,193 @@
+
+
+[<< Day 13](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/13_Day/13_day_console_object_methods.md) | [Day 15>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/15_Day/15_day_classes.md)
+
+
+
+- [Day 14](#day-14)
+ - [Error Handling](#error-handling)
+ - [Error Types](#error-types)
+ - [Exercises](#exercises)
+ - [Exercises:Level 1](#exerciseslevel-1)
+ - [Exercises: Level 2](#exercises-level-2)
+ - [Exercises:Level](#exerciseslevel)
+
+# Day 14
+
+## Error Handling
+
+JavaScript is a loosely-typed language. Some times you will get a runtime error when you try to access an undefined variable or call undefined function etc.
+
+JavaScript similar to python or Java provides an error-handling mechanism to catch runtime errors using try-catch-finally block.
+
+```js
+try {
+ // code that may throw an error
+} catch (err) {
+ // code to be executed if an error occurs
+} finally {
+ // code to be executed regardless of an error occurs or not
+}
+```
+
+**try**: wrap suspicious code that may throw an error in try block.The try statement allows us to define a block of code to be tested for errors while it is being executed.
+
+**catch**: write code to do something in catch block when an error occurs. The catch block can have parameters that will give you error information. Catch block is used to log an error or display specific messages to the user.
+
+**finally**: finally block will always be executed regardless of the occurrence of an error. The finally block can be used to complete the remaining task or reset variables that might have changed before error occurred in try block.
+
+**Example:**
+
+```js
+try {
+ let lastName = 'Yetayeh'
+ let fullName = fistName + ' ' + lastName
+} catch (err) {
+ console.log(err)
+}
+```
+
+```sh
+ReferenceError: fistName is not defined
+ at :4:20
+```
+
+```js
+try {
+ let lastName = 'Yetayeh'
+ let fullName = fistName + ' ' + lastName
+} catch (err) {
+ console.error(err) // we can use console.log() or console.error()
+} finally {
+ console.log('In any case I will be executed')
+}
+```
+
+```sh
+ReferenceError: fistName is not defined
+ at :4:20
+In any case I will be executed
+```
+
+The catch block take a parameter. It is common to pass e, err or error as a parameter to the catch block. This parameter is an object and it has name and message keys. Lets use the name and message.
+
+```js
+try {
+ let lastName = 'Yetayeh'
+ let fullName = fistName + ' ' + lastName
+} catch (err) {
+ console.log('Name of the error', err.name)
+ console.log('Error message', err.message)
+} finally {
+ console.log('In any case I will be executed')
+}
+```
+
+```sh
+Name of the error ReferenceError
+Error message fistName is not defined
+In any case I will be executed
+```
+
+throw: the throw statement allows us to create a custom error. We can through a string, number, boolean or an object. Use the throw statement to throw an exception. When you throw an exception, expression specifies the value of the exception. Each of the following throws an exception:
+
+```js
+throw 'Error2' // generates an exception with a string value
+throw 42 // generates an exception with the value 42
+throw true // generates an exception with the value true
+throw new Error('Required') // generates an error object with the message of Required
+```
+
+```js
+const throwErroExampleFun = () => {
+ let message
+ let x = prompt('Enter a number: ')
+ try {
+ if (x == '') throw 'empty'
+ if (isNaN(x)) throw 'not a number'
+ x = Number(x)
+ if (x < 5) throw 'too low'
+ if (x > 10) throw 'too high'
+ } catch (err) {
+ console.log(err)
+ }
+}
+throwErroExampleFun()
+```
+
+### Error Types
+
+- ReferenceError: An illegal reference has occurred. A ReferenceError is thrown if we use a variable that has not been declared.
+
+```js
+let firstName = 'Asabeneh'
+let fullName = firstName + ' ' + lastName
+
+console.log(fullName)
+```
+
+```sh
+Uncaught ReferenceError: lastName is not defined
+ at :2:35
+```
+
+- SyntaxError: A syntax error has occurred
+
+```js
+let square = 2 x 2
+console.log(square)
+
+console.log('Hello, world")
+```
+
+```sh
+Uncaught SyntaxError: Unexpected identifier
+```
+
+- TypeError: A type error has occurred
+
+```js
+let num = 10
+console.log(num.toLowerCase())
+```
+
+```sh
+Uncaught TypeError: num.toLowerCase is not a function
+ at :2:17
+```
+
+These are some of the common error you may face when you write a code. Understanding errors can help you to know what mistakes you made and it will help you to debug your code fast.
+
+đ You are flawless. Now, you knew how to handle errors and you can write robust application which handle unexpected user inputs. You have just completed day 14 challenges and you are 14 steps a head in to your way to greatness. Now do some exercises for your brain and for your muscle.
+
+## Exercises
+
+### Exercises:Level 1
+
+Practice
+
+### Exercises: Level 2
+
+Practice
+
+### Exercises:Level
+
+Practice
+
+đ CONGRATULATIONS ! đ
+
+[<< Day 13](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/13_Day/13_day_console_object_methods.md) | [Day 15>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/15_Day/15_day_classes.md)
diff --git a/14_Day/14_day_starter/data/countries_data.js b/14_Day/14_day_starter/data/countries_data.js
new file mode 100644
index 0000000..92acddd
--- /dev/null
+++ b/14_Day/14_day_starter/data/countries_data.js
@@ -0,0 +1,2013 @@
+const countries = [
+ {
+ name: 'Afghanistan',
+ capital: 'Kabul',
+ languages: ['Pashto', 'Uzbek', 'Turkmen'],
+ population: 27657145,
+ flag: 'https://restcountries.eu/data/afg.svg',
+ currency: 'Afghan afghani'
+ },
+ {
+ name: 'Ă
land Islands',
+ capital: 'Mariehamn',
+ languages: ['Swedish'],
+ population: 28875,
+ flag: 'https://restcountries.eu/data/ala.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Albania',
+ capital: 'Tirana',
+ languages: ['Albanian'],
+ population: 2886026,
+ flag: 'https://restcountries.eu/data/alb.svg',
+ currency: 'Albanian lek'
+ },
+ {
+ name: 'Algeria',
+ capital: 'Algiers',
+ languages: ['Arabic'],
+ population: 40400000,
+ flag: 'https://restcountries.eu/data/dza.svg',
+ currency: 'Algerian dinar'
+ },
+ {
+ name: 'American Samoa',
+ capital: 'Pago Pago',
+ languages: ['English', 'Samoan'],
+ population: 57100,
+ flag: 'https://restcountries.eu/data/asm.svg',
+ currency: 'United State Dollar'
+ },
+ {
+ name: 'Andorra',
+ capital: 'Andorra la Vella',
+ languages: ['Catalan'],
+ population: 78014,
+ flag: 'https://restcountries.eu/data/and.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Angola',
+ capital: 'Luanda',
+ languages: ['Portuguese'],
+ population: 25868000,
+ flag: 'https://restcountries.eu/data/ago.svg',
+ currency: 'Angolan kwanza'
+ },
+ {
+ name: 'Anguilla',
+ capital: 'The Valley',
+ languages: ['English'],
+ population: 13452,
+ flag: 'https://restcountries.eu/data/aia.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Antarctica',
+ capital: '',
+ languages: ['English', 'Russian'],
+ population: 1000,
+ flag: 'https://restcountries.eu/data/ata.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Antigua and Barbuda',
+ capital: "Saint John's",
+ languages: ['English'],
+ population: 86295,
+ flag: 'https://restcountries.eu/data/atg.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Argentina',
+ capital: 'Buenos Aires',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 43590400,
+ flag: 'https://restcountries.eu/data/arg.svg',
+ currency: 'Argentine peso'
+ },
+ {
+ name: 'Armenia',
+ capital: 'Yerevan',
+ languages: ['Armenian', 'Russian'],
+ population: 2994400,
+ flag: 'https://restcountries.eu/data/arm.svg',
+ currency: 'Armenian dram'
+ },
+ {
+ name: 'Aruba',
+ capital: 'Oranjestad',
+ languages: ['Dutch', '(Eastern) Punjabi'],
+ population: 107394,
+ flag: 'https://restcountries.eu/data/abw.svg',
+ currency: 'Aruban florin'
+ },
+ {
+ name: 'Australia',
+ capital: 'Canberra',
+ languages: ['English'],
+ population: 24117360,
+ flag: 'https://restcountries.eu/data/aus.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Austria',
+ capital: 'Vienna',
+ languages: ['German'],
+ population: 8725931,
+ flag: 'https://restcountries.eu/data/aut.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Azerbaijan',
+ capital: 'Baku',
+ languages: ['Azerbaijani'],
+ population: 9730500,
+ flag: 'https://restcountries.eu/data/aze.svg',
+ currency: 'Azerbaijani manat'
+ },
+ {
+ name: 'Bahamas',
+ capital: 'Nassau',
+ languages: ['English'],
+ population: 378040,
+ flag: 'https://restcountries.eu/data/bhs.svg',
+ currency: 'Bahamian dollar'
+ },
+ {
+ name: 'Bahrain',
+ capital: 'Manama',
+ languages: ['Arabic'],
+ population: 1404900,
+ flag: 'https://restcountries.eu/data/bhr.svg',
+ currency: 'Bahraini dinar'
+ },
+ {
+ name: 'Bangladesh',
+ capital: 'Dhaka',
+ languages: ['Bengali'],
+ population: 161006790,
+ flag: 'https://restcountries.eu/data/bgd.svg',
+ currency: 'Bangladeshi taka'
+ },
+ {
+ name: 'Barbados',
+ capital: 'Bridgetown',
+ languages: ['English'],
+ population: 285000,
+ flag: 'https://restcountries.eu/data/brb.svg',
+ currency: 'Barbadian dollar'
+ },
+ {
+ name: 'Belarus',
+ capital: 'Minsk',
+ languages: ['Belarusian', 'Russian'],
+ population: 9498700,
+ flag: 'https://restcountries.eu/data/blr.svg',
+ currency: 'New Belarusian ruble'
+ },
+ {
+ name: 'Belgium',
+ capital: 'Brussels',
+ languages: ['Dutch', 'French', 'German'],
+ population: 11319511,
+ flag: 'https://restcountries.eu/data/bel.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Belize',
+ capital: 'Belmopan',
+ languages: ['English', 'Spanish'],
+ population: 370300,
+ flag: 'https://restcountries.eu/data/blz.svg',
+ currency: 'Belize dollar'
+ },
+ {
+ name: 'Benin',
+ capital: 'Porto-Novo',
+ languages: ['French'],
+ population: 10653654,
+ flag: 'https://restcountries.eu/data/ben.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Bermuda',
+ capital: 'Hamilton',
+ languages: ['English'],
+ population: 61954,
+ flag: 'https://restcountries.eu/data/bmu.svg',
+ currency: 'Bermudian dollar'
+ },
+ {
+ name: 'Bhutan',
+ capital: 'Thimphu',
+ languages: ['Dzongkha'],
+ population: 775620,
+ flag: 'https://restcountries.eu/data/btn.svg',
+ currency: 'Bhutanese ngultrum'
+ },
+ {
+ name: 'Bolivia (Plurinational State of)',
+ capital: 'Sucre',
+ languages: ['Spanish', 'Aymara', 'Quechua'],
+ population: 10985059,
+ flag: 'https://restcountries.eu/data/bol.svg',
+ currency: 'Bolivian boliviano'
+ },
+ {
+ name: 'Bonaire, Sint Eustatius and Saba',
+ capital: 'Kralendijk',
+ languages: ['Dutch'],
+ population: 17408,
+ flag: 'https://restcountries.eu/data/bes.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Bosnia and Herzegovina',
+ capital: 'Sarajevo',
+ languages: ['Bosnian', 'Croatian', 'Serbian'],
+ population: 3531159,
+ flag: 'https://restcountries.eu/data/bih.svg',
+ currency: 'Bosnia and Herzegovina convertible mark'
+ },
+ {
+ name: 'Botswana',
+ capital: 'Gaborone',
+ languages: ['English', 'Tswana'],
+ population: 2141206,
+ flag: 'https://restcountries.eu/data/bwa.svg',
+ currency: 'Botswana pula'
+ },
+ {
+ name: 'Bouvet Island',
+ capital: '',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/bvt.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Brazil',
+ capital: 'BrasĂlia',
+ languages: ['Portuguese'],
+ population: 206135893,
+ flag: 'https://restcountries.eu/data/bra.svg',
+ currency: 'Brazilian real'
+ },
+ {
+ name: 'British Indian Ocean Territory',
+ capital: 'Diego Garcia',
+ languages: ['English'],
+ population: 3000,
+ flag: 'https://restcountries.eu/data/iot.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'United States Minor Outlying Islands',
+ capital: '',
+ languages: ['English'],
+ population: 300,
+ flag: 'https://restcountries.eu/data/umi.svg',
+ currency: 'United States Dollar'
+ },
+ {
+ name: 'Virgin Islands (British)',
+ capital: 'Road Town',
+ languages: ['English'],
+ population: 28514,
+ flag: 'https://restcountries.eu/data/vgb.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Virgin Islands (U.S.)',
+ capital: 'Charlotte Amalie',
+ languages: ['English'],
+ population: 114743,
+ flag: 'https://restcountries.eu/data/vir.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Brunei Darussalam',
+ capital: 'Bandar Seri Begawan',
+ languages: ['Malay'],
+ population: 411900,
+ flag: 'https://restcountries.eu/data/brn.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Bulgaria',
+ capital: 'Sofia',
+ languages: ['Bulgarian'],
+ population: 7153784,
+ flag: 'https://restcountries.eu/data/bgr.svg',
+ currency: 'Bulgarian lev'
+ },
+ {
+ name: 'Burkina Faso',
+ capital: 'Ouagadougou',
+ languages: ['French', 'Fula'],
+ population: 19034397,
+ flag: 'https://restcountries.eu/data/bfa.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Burundi',
+ capital: 'Bujumbura',
+ languages: ['French', 'Kirundi'],
+ population: 10114505,
+ flag: 'https://restcountries.eu/data/bdi.svg',
+ currency: 'Burundian franc'
+ },
+ {
+ name: 'Cambodia',
+ capital: 'Phnom Penh',
+ languages: ['Khmer'],
+ population: 15626444,
+ flag: 'https://restcountries.eu/data/khm.svg',
+ currency: 'Cambodian riel'
+ },
+ {
+ name: 'Cameroon',
+ capital: 'Yaoundé',
+ languages: ['English', 'French'],
+ population: 22709892,
+ flag: 'https://restcountries.eu/data/cmr.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Canada',
+ capital: 'Ottawa',
+ languages: ['English', 'French'],
+ population: 36155487,
+ flag: 'https://restcountries.eu/data/can.svg',
+ currency: 'Canadian dollar'
+ },
+ {
+ name: 'Cabo Verde',
+ capital: 'Praia',
+ languages: ['Portuguese'],
+ population: 531239,
+ flag: 'https://restcountries.eu/data/cpv.svg',
+ currency: 'Cape Verdean escudo'
+ },
+ {
+ name: 'Cayman Islands',
+ capital: 'George Town',
+ languages: ['English'],
+ population: 58238,
+ flag: 'https://restcountries.eu/data/cym.svg',
+ currency: 'Cayman Islands dollar'
+ },
+ {
+ name: 'Central African Republic',
+ capital: 'Bangui',
+ languages: ['French', 'Sango'],
+ population: 4998000,
+ flag: 'https://restcountries.eu/data/caf.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chad',
+ capital: "N'Djamena",
+ languages: ['French', 'Arabic'],
+ population: 14497000,
+ flag: 'https://restcountries.eu/data/tcd.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chile',
+ capital: 'Santiago',
+ languages: ['Spanish'],
+ population: 18191900,
+ flag: 'https://restcountries.eu/data/chl.svg',
+ currency: 'Chilean peso'
+ },
+ {
+ name: 'China',
+ capital: 'Beijing',
+ languages: ['Chinese'],
+ population: 1377422166,
+ flag: 'https://restcountries.eu/data/chn.svg',
+ currency: 'Chinese yuan'
+ },
+ {
+ name: 'Christmas Island',
+ capital: 'Flying Fish Cove',
+ languages: ['English'],
+ population: 2072,
+ flag: 'https://restcountries.eu/data/cxr.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Cocos (Keeling) Islands',
+ capital: 'West Island',
+ languages: ['English'],
+ population: 550,
+ flag: 'https://restcountries.eu/data/cck.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Colombia',
+ capital: 'BogotĂĄ',
+ languages: ['Spanish'],
+ population: 48759958,
+ flag: 'https://restcountries.eu/data/col.svg',
+ currency: 'Colombian peso'
+ },
+ {
+ name: 'Comoros',
+ capital: 'Moroni',
+ languages: ['Arabic', 'French'],
+ population: 806153,
+ flag: 'https://restcountries.eu/data/com.svg',
+ currency: 'Comorian franc'
+ },
+ {
+ name: 'Congo',
+ capital: 'Brazzaville',
+ languages: ['French', 'Lingala'],
+ population: 4741000,
+ flag: 'https://restcountries.eu/data/cog.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Congo (Democratic Republic of the)',
+ capital: 'Kinshasa',
+ languages: ['French', 'Lingala', 'Kongo', 'Swahili', 'Luba-Katanga'],
+ population: 85026000,
+ flag: 'https://restcountries.eu/data/cod.svg',
+ currency: 'Congolese franc'
+ },
+ {
+ name: 'Cook Islands',
+ capital: 'Avarua',
+ languages: ['English'],
+ population: 18100,
+ flag: 'https://restcountries.eu/data/cok.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Costa Rica',
+ capital: 'San José',
+ languages: ['Spanish'],
+ population: 4890379,
+ flag: 'https://restcountries.eu/data/cri.svg',
+ currency: 'Costa Rican colĂłn'
+ },
+ {
+ name: 'Croatia',
+ capital: 'Zagreb',
+ languages: ['Croatian'],
+ population: 4190669,
+ flag: 'https://restcountries.eu/data/hrv.svg',
+ currency: 'Croatian kuna'
+ },
+ {
+ name: 'Cuba',
+ capital: 'Havana',
+ languages: ['Spanish'],
+ population: 11239004,
+ flag: 'https://restcountries.eu/data/cub.svg',
+ currency: 'Cuban convertible peso'
+ },
+ {
+ name: 'Curaçao',
+ capital: 'Willemstad',
+ languages: ['Dutch', '(Eastern) Punjabi', 'English'],
+ population: 154843,
+ flag: 'https://restcountries.eu/data/cuw.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Cyprus',
+ capital: 'Nicosia',
+ languages: ['Greek (modern)', 'Turkish', 'Armenian'],
+ population: 847000,
+ flag: 'https://restcountries.eu/data/cyp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Czech Republic',
+ capital: 'Prague',
+ languages: ['Czech', 'Slovak'],
+ population: 10558524,
+ flag: 'https://restcountries.eu/data/cze.svg',
+ currency: 'Czech koruna'
+ },
+ {
+ name: 'Denmark',
+ capital: 'Copenhagen',
+ languages: ['Danish'],
+ population: 5717014,
+ flag: 'https://restcountries.eu/data/dnk.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Djibouti',
+ capital: 'Djibouti',
+ languages: ['French', 'Arabic'],
+ population: 900000,
+ flag: 'https://restcountries.eu/data/dji.svg',
+ currency: 'Djiboutian franc'
+ },
+ {
+ name: 'Dominica',
+ capital: 'Roseau',
+ languages: ['English'],
+ population: 71293,
+ flag: 'https://restcountries.eu/data/dma.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Dominican Republic',
+ capital: 'Santo Domingo',
+ languages: ['Spanish'],
+ population: 10075045,
+ flag: 'https://restcountries.eu/data/dom.svg',
+ currency: 'Dominican peso'
+ },
+ {
+ name: 'Ecuador',
+ capital: 'Quito',
+ languages: ['Spanish'],
+ population: 16545799,
+ flag: 'https://restcountries.eu/data/ecu.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Egypt',
+ capital: 'Cairo',
+ languages: ['Arabic'],
+ population: 91290000,
+ flag: 'https://restcountries.eu/data/egy.svg',
+ currency: 'Egyptian pound'
+ },
+ {
+ name: 'El Salvador',
+ capital: 'San Salvador',
+ languages: ['Spanish'],
+ population: 6520675,
+ flag: 'https://restcountries.eu/data/slv.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Equatorial Guinea',
+ capital: 'Malabo',
+ languages: ['Spanish', 'French'],
+ population: 1222442,
+ flag: 'https://restcountries.eu/data/gnq.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Eritrea',
+ capital: 'Asmara',
+ languages: ['Tigrinya', 'Arabic', 'English'],
+ population: 5352000,
+ flag: 'https://restcountries.eu/data/eri.svg',
+ currency: 'Eritrean nakfa'
+ },
+ {
+ name: 'Estonia',
+ capital: 'Tallinn',
+ languages: ['Estonian'],
+ population: 1315944,
+ flag: 'https://restcountries.eu/data/est.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ethiopia',
+ capital: 'Addis Ababa',
+ languages: ['Amharic'],
+ population: 92206005,
+ flag: 'https://restcountries.eu/data/eth.svg',
+ currency: 'Ethiopian birr'
+ },
+ {
+ name: 'Falkland Islands (Malvinas)',
+ capital: 'Stanley',
+ languages: ['English'],
+ population: 2563,
+ flag: 'https://restcountries.eu/data/flk.svg',
+ currency: 'Falkland Islands pound'
+ },
+ {
+ name: 'Faroe Islands',
+ capital: 'TĂłrshavn',
+ languages: ['Faroese'],
+ population: 49376,
+ flag: 'https://restcountries.eu/data/fro.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Fiji',
+ capital: 'Suva',
+ languages: ['English', 'Fijian', 'Hindi', 'Urdu'],
+ population: 867000,
+ flag: 'https://restcountries.eu/data/fji.svg',
+ currency: 'Fijian dollar'
+ },
+ {
+ name: 'Finland',
+ capital: 'Helsinki',
+ languages: ['Finnish', 'Swedish'],
+ population: 5491817,
+ flag: 'https://restcountries.eu/data/fin.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'France',
+ capital: 'Paris',
+ languages: ['French'],
+ population: 66710000,
+ flag: 'https://restcountries.eu/data/fra.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Guiana',
+ capital: 'Cayenne',
+ languages: ['French'],
+ population: 254541,
+ flag: 'https://restcountries.eu/data/guf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Polynesia',
+ capital: 'PapeetÄ',
+ languages: ['French'],
+ population: 271800,
+ flag: 'https://restcountries.eu/data/pyf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'French Southern Territories',
+ capital: 'Port-aux-Français',
+ languages: ['French'],
+ population: 140,
+ flag: 'https://restcountries.eu/data/atf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Gabon',
+ capital: 'Libreville',
+ languages: ['French'],
+ population: 1802278,
+ flag: 'https://restcountries.eu/data/gab.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Gambia',
+ capital: 'Banjul',
+ languages: ['English'],
+ population: 1882450,
+ flag: 'https://restcountries.eu/data/gmb.svg',
+ currency: 'Gambian dalasi'
+ },
+ {
+ name: 'Georgia',
+ capital: 'Tbilisi',
+ languages: ['Georgian'],
+ population: 3720400,
+ flag: 'https://restcountries.eu/data/geo.svg',
+ currency: 'Georgian Lari'
+ },
+ {
+ name: 'Germany',
+ capital: 'Berlin',
+ languages: ['German'],
+ population: 81770900,
+ flag: 'https://restcountries.eu/data/deu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ghana',
+ capital: 'Accra',
+ languages: ['English'],
+ population: 27670174,
+ flag: 'https://restcountries.eu/data/gha.svg',
+ currency: 'Ghanaian cedi'
+ },
+ {
+ name: 'Gibraltar',
+ capital: 'Gibraltar',
+ languages: ['English'],
+ population: 33140,
+ flag: 'https://restcountries.eu/data/gib.svg',
+ currency: 'Gibraltar pound'
+ },
+ {
+ name: 'Greece',
+ capital: 'Athens',
+ languages: ['Greek (modern)'],
+ population: 10858018,
+ flag: 'https://restcountries.eu/data/grc.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Greenland',
+ capital: 'Nuuk',
+ languages: ['Kalaallisut'],
+ population: 55847,
+ flag: 'https://restcountries.eu/data/grl.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Grenada',
+ capital: "St. George's",
+ languages: ['English'],
+ population: 103328,
+ flag: 'https://restcountries.eu/data/grd.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Guadeloupe',
+ capital: 'Basse-Terre',
+ languages: ['French'],
+ population: 400132,
+ flag: 'https://restcountries.eu/data/glp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Guam',
+ capital: 'HagÄtña',
+ languages: ['English', 'Chamorro', 'Spanish'],
+ population: 184200,
+ flag: 'https://restcountries.eu/data/gum.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Guatemala',
+ capital: 'Guatemala City',
+ languages: ['Spanish'],
+ population: 16176133,
+ flag: 'https://restcountries.eu/data/gtm.svg',
+ currency: 'Guatemalan quetzal'
+ },
+ {
+ name: 'Guernsey',
+ capital: 'St. Peter Port',
+ languages: ['English', 'French'],
+ population: 62999,
+ flag: 'https://restcountries.eu/data/ggy.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Guinea',
+ capital: 'Conakry',
+ languages: ['French', 'Fula'],
+ population: 12947000,
+ flag: 'https://restcountries.eu/data/gin.svg',
+ currency: 'Guinean franc'
+ },
+ {
+ name: 'Guinea-Bissau',
+ capital: 'Bissau',
+ languages: ['Portuguese'],
+ population: 1547777,
+ flag: 'https://restcountries.eu/data/gnb.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Guyana',
+ capital: 'Georgetown',
+ languages: ['English'],
+ population: 746900,
+ flag: 'https://restcountries.eu/data/guy.svg',
+ currency: 'Guyanese dollar'
+ },
+ {
+ name: 'Haiti',
+ capital: 'Port-au-Prince',
+ languages: ['French', 'Haitian'],
+ population: 11078033,
+ flag: 'https://restcountries.eu/data/hti.svg',
+ currency: 'Haitian gourde'
+ },
+ {
+ name: 'Heard Island and McDonald Islands',
+ capital: '',
+ languages: ['English'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/hmd.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Holy See',
+ capital: 'Rome',
+ languages: ['Latin', 'Italian', 'French', 'German'],
+ population: 451,
+ flag: 'https://restcountries.eu/data/vat.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Honduras',
+ capital: 'Tegucigalpa',
+ languages: ['Spanish'],
+ population: 8576532,
+ flag: 'https://restcountries.eu/data/hnd.svg',
+ currency: 'Honduran lempira'
+ },
+ {
+ name: 'Hong Kong',
+ capital: 'City of Victoria',
+ languages: ['English', 'Chinese'],
+ population: 7324300,
+ flag: 'https://restcountries.eu/data/hkg.svg',
+ currency: 'Hong Kong dollar'
+ },
+ {
+ name: 'Hungary',
+ capital: 'Budapest',
+ languages: ['Hungarian'],
+ population: 9823000,
+ flag: 'https://restcountries.eu/data/hun.svg',
+ currency: 'Hungarian forint'
+ },
+ {
+ name: 'Iceland',
+ capital: 'ReykjavĂk',
+ languages: ['Icelandic'],
+ population: 334300,
+ flag: 'https://restcountries.eu/data/isl.svg',
+ currency: 'Icelandic krĂłna'
+ },
+ {
+ name: 'India',
+ capital: 'New Delhi',
+ languages: ['Hindi', 'English'],
+ population: 1295210000,
+ flag: 'https://restcountries.eu/data/ind.svg',
+ currency: 'Indian rupee'
+ },
+ {
+ name: 'Indonesia',
+ capital: 'Jakarta',
+ languages: ['Indonesian'],
+ population: 258705000,
+ flag: 'https://restcountries.eu/data/idn.svg',
+ currency: 'Indonesian rupiah'
+ },
+ {
+ name: "CĂŽte d'Ivoire",
+ capital: 'Yamoussoukro',
+ languages: ['French'],
+ population: 22671331,
+ flag: 'https://restcountries.eu/data/civ.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Iran (Islamic Republic of)',
+ capital: 'Tehran',
+ languages: ['Persian (Farsi)'],
+ population: 79369900,
+ flag: 'https://restcountries.eu/data/irn.svg',
+ currency: 'Iranian rial'
+ },
+ {
+ name: 'Iraq',
+ capital: 'Baghdad',
+ languages: ['Arabic', 'Kurdish'],
+ population: 37883543,
+ flag: 'https://restcountries.eu/data/irq.svg',
+ currency: 'Iraqi dinar'
+ },
+ {
+ name: 'Ireland',
+ capital: 'Dublin',
+ languages: ['Irish', 'English'],
+ population: 6378000,
+ flag: 'https://restcountries.eu/data/irl.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Isle of Man',
+ capital: 'Douglas',
+ languages: ['English', 'Manx'],
+ population: 84497,
+ flag: 'https://restcountries.eu/data/imn.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Israel',
+ capital: 'Jerusalem',
+ languages: ['Hebrew (modern)', 'Arabic'],
+ population: 8527400,
+ flag: 'https://restcountries.eu/data/isr.svg',
+ currency: 'Israeli new shekel'
+ },
+ {
+ name: 'Italy',
+ capital: 'Rome',
+ languages: ['Italian'],
+ population: 60665551,
+ flag: 'https://restcountries.eu/data/ita.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Jamaica',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2723246,
+ flag: 'https://restcountries.eu/data/jam.svg',
+ currency: 'Jamaican dollar'
+ },
+ {
+ name: 'Japan',
+ capital: 'Tokyo',
+ languages: ['Japanese'],
+ population: 126960000,
+ flag: 'https://restcountries.eu/data/jpn.svg',
+ currency: 'Japanese yen'
+ },
+ {
+ name: 'Jersey',
+ capital: 'Saint Helier',
+ languages: ['English', 'French'],
+ population: 100800,
+ flag: 'https://restcountries.eu/data/jey.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Jordan',
+ capital: 'Amman',
+ languages: ['Arabic'],
+ population: 9531712,
+ flag: 'https://restcountries.eu/data/jor.svg',
+ currency: 'Jordanian dinar'
+ },
+ {
+ name: 'Kazakhstan',
+ capital: 'Astana',
+ languages: ['Kazakh', 'Russian'],
+ population: 17753200,
+ flag: 'https://restcountries.eu/data/kaz.svg',
+ currency: 'Kazakhstani tenge'
+ },
+ {
+ name: 'Kenya',
+ capital: 'Nairobi',
+ languages: ['English', 'Swahili'],
+ population: 47251000,
+ flag: 'https://restcountries.eu/data/ken.svg',
+ currency: 'Kenyan shilling'
+ },
+ {
+ name: 'Kiribati',
+ capital: 'South Tarawa',
+ languages: ['English'],
+ population: 113400,
+ flag: 'https://restcountries.eu/data/kir.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Kuwait',
+ capital: 'Kuwait City',
+ languages: ['Arabic'],
+ population: 4183658,
+ flag: 'https://restcountries.eu/data/kwt.svg',
+ currency: 'Kuwaiti dinar'
+ },
+ {
+ name: 'Kyrgyzstan',
+ capital: 'Bishkek',
+ languages: ['Kyrgyz', 'Russian'],
+ population: 6047800,
+ flag: 'https://restcountries.eu/data/kgz.svg',
+ currency: 'Kyrgyzstani som'
+ },
+ {
+ name: "Lao People's Democratic Republic",
+ capital: 'Vientiane',
+ languages: ['Lao'],
+ population: 6492400,
+ flag: 'https://restcountries.eu/data/lao.svg',
+ currency: 'Lao kip'
+ },
+ {
+ name: 'Latvia',
+ capital: 'Riga',
+ languages: ['Latvian'],
+ population: 1961600,
+ flag: 'https://restcountries.eu/data/lva.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Lebanon',
+ capital: 'Beirut',
+ languages: ['Arabic', 'French'],
+ population: 5988000,
+ flag: 'https://restcountries.eu/data/lbn.svg',
+ currency: 'Lebanese pound'
+ },
+ {
+ name: 'Lesotho',
+ capital: 'Maseru',
+ languages: ['English', 'Southern Sotho'],
+ population: 1894194,
+ flag: 'https://restcountries.eu/data/lso.svg',
+ currency: 'Lesotho loti'
+ },
+ {
+ name: 'Liberia',
+ capital: 'Monrovia',
+ languages: ['English'],
+ population: 4615000,
+ flag: 'https://restcountries.eu/data/lbr.svg',
+ currency: 'Liberian dollar'
+ },
+ {
+ name: 'Libya',
+ capital: 'Tripoli',
+ languages: ['Arabic'],
+ population: 6385000,
+ flag: 'https://restcountries.eu/data/lby.svg',
+ currency: 'Libyan dinar'
+ },
+ {
+ name: 'Liechtenstein',
+ capital: 'Vaduz',
+ languages: ['German'],
+ population: 37623,
+ flag: 'https://restcountries.eu/data/lie.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Lithuania',
+ capital: 'Vilnius',
+ languages: ['Lithuanian'],
+ population: 2872294,
+ flag: 'https://restcountries.eu/data/ltu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Luxembourg',
+ capital: 'Luxembourg',
+ languages: ['French', 'German', 'Luxembourgish'],
+ population: 576200,
+ flag: 'https://restcountries.eu/data/lux.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Macao',
+ capital: '',
+ languages: ['Chinese', 'Portuguese'],
+ population: 649100,
+ flag: 'https://restcountries.eu/data/mac.svg',
+ currency: 'Macanese pataca'
+ },
+ {
+ name: 'Macedonia (the former Yugoslav Republic of)',
+ capital: 'Skopje',
+ languages: ['Macedonian'],
+ population: 2058539,
+ flag: 'https://restcountries.eu/data/mkd.svg',
+ currency: 'Macedonian denar'
+ },
+ {
+ name: 'Madagascar',
+ capital: 'Antananarivo',
+ languages: ['French', 'Malagasy'],
+ population: 22434363,
+ flag: 'https://restcountries.eu/data/mdg.svg',
+ currency: 'Malagasy ariary'
+ },
+ {
+ name: 'Malawi',
+ capital: 'Lilongwe',
+ languages: ['English', 'Chichewa'],
+ population: 16832910,
+ flag: 'https://restcountries.eu/data/mwi.svg',
+ currency: 'Malawian kwacha'
+ },
+ {
+ name: 'Malaysia',
+ capital: 'Kuala Lumpur',
+ languages: ['Malaysian'],
+ population: 31405416,
+ flag: 'https://restcountries.eu/data/mys.svg',
+ currency: 'Malaysian ringgit'
+ },
+ {
+ name: 'Maldives',
+ capital: 'Malé',
+ languages: ['Divehi'],
+ population: 344023,
+ flag: 'https://restcountries.eu/data/mdv.svg',
+ currency: 'Maldivian rufiyaa'
+ },
+ {
+ name: 'Mali',
+ capital: 'Bamako',
+ languages: ['French'],
+ population: 18135000,
+ flag: 'https://restcountries.eu/data/mli.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Malta',
+ capital: 'Valletta',
+ languages: ['Maltese', 'English'],
+ population: 425384,
+ flag: 'https://restcountries.eu/data/mlt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Marshall Islands',
+ capital: 'Majuro',
+ languages: ['English', 'Marshallese'],
+ population: 54880,
+ flag: 'https://restcountries.eu/data/mhl.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Martinique',
+ capital: 'Fort-de-France',
+ languages: ['French'],
+ population: 378243,
+ flag: 'https://restcountries.eu/data/mtq.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mauritania',
+ capital: 'Nouakchott',
+ languages: ['Arabic'],
+ population: 3718678,
+ flag: 'https://restcountries.eu/data/mrt.svg',
+ currency: 'Mauritanian ouguiya'
+ },
+ {
+ name: 'Mauritius',
+ capital: 'Port Louis',
+ languages: ['English'],
+ population: 1262879,
+ flag: 'https://restcountries.eu/data/mus.svg',
+ currency: 'Mauritian rupee'
+ },
+ {
+ name: 'Mayotte',
+ capital: 'Mamoudzou',
+ languages: ['French'],
+ population: 226915,
+ flag: 'https://restcountries.eu/data/myt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mexico',
+ capital: 'Mexico City',
+ languages: ['Spanish'],
+ population: 122273473,
+ flag: 'https://restcountries.eu/data/mex.svg',
+ currency: 'Mexican peso'
+ },
+ {
+ name: 'Micronesia (Federated States of)',
+ capital: 'Palikir',
+ languages: ['English'],
+ population: 102800,
+ flag: 'https://restcountries.eu/data/fsm.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Moldova (Republic of)',
+ capital: 'ChiÈinÄu',
+ languages: ['Romanian'],
+ population: 3553100,
+ flag: 'https://restcountries.eu/data/mda.svg',
+ currency: 'Moldovan leu'
+ },
+ {
+ name: 'Monaco',
+ capital: 'Monaco',
+ languages: ['French'],
+ population: 38400,
+ flag: 'https://restcountries.eu/data/mco.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mongolia',
+ capital: 'Ulan Bator',
+ languages: ['Mongolian'],
+ population: 3093100,
+ flag: 'https://restcountries.eu/data/mng.svg',
+ currency: 'Mongolian tögrög'
+ },
+ {
+ name: 'Montenegro',
+ capital: 'Podgorica',
+ languages: ['Serbian', 'Bosnian', 'Albanian', 'Croatian'],
+ population: 621810,
+ flag: 'https://restcountries.eu/data/mne.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Montserrat',
+ capital: 'Plymouth',
+ languages: ['English'],
+ population: 4922,
+ flag: 'https://restcountries.eu/data/msr.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Morocco',
+ capital: 'Rabat',
+ languages: ['Arabic'],
+ population: 33337529,
+ flag: 'https://restcountries.eu/data/mar.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Mozambique',
+ capital: 'Maputo',
+ languages: ['Portuguese'],
+ population: 26423700,
+ flag: 'https://restcountries.eu/data/moz.svg',
+ currency: 'Mozambican metical'
+ },
+ {
+ name: 'Myanmar',
+ capital: 'Naypyidaw',
+ languages: ['Burmese'],
+ population: 51419420,
+ flag: 'https://restcountries.eu/data/mmr.svg',
+ currency: 'Burmese kyat'
+ },
+ {
+ name: 'Namibia',
+ capital: 'Windhoek',
+ languages: ['English', 'Afrikaans'],
+ population: 2324388,
+ flag: 'https://restcountries.eu/data/nam.svg',
+ currency: 'Namibian dollar'
+ },
+ {
+ name: 'Nauru',
+ capital: 'Yaren',
+ languages: ['English', 'Nauruan'],
+ population: 10084,
+ flag: 'https://restcountries.eu/data/nru.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Nepal',
+ capital: 'Kathmandu',
+ languages: ['Nepali'],
+ population: 28431500,
+ flag: 'https://restcountries.eu/data/npl.svg',
+ currency: 'Nepalese rupee'
+ },
+ {
+ name: 'Netherlands',
+ capital: 'Amsterdam',
+ languages: ['Dutch'],
+ population: 17019800,
+ flag: 'https://restcountries.eu/data/nld.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'New Caledonia',
+ capital: 'Nouméa',
+ languages: ['French'],
+ population: 268767,
+ flag: 'https://restcountries.eu/data/ncl.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'New Zealand',
+ capital: 'Wellington',
+ languages: ['English', 'MÄori'],
+ population: 4697854,
+ flag: 'https://restcountries.eu/data/nzl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Nicaragua',
+ capital: 'Managua',
+ languages: ['Spanish'],
+ population: 6262703,
+ flag: 'https://restcountries.eu/data/nic.svg',
+ currency: 'Nicaraguan cĂłrdoba'
+ },
+ {
+ name: 'Niger',
+ capital: 'Niamey',
+ languages: ['French'],
+ population: 20715000,
+ flag: 'https://restcountries.eu/data/ner.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Nigeria',
+ capital: 'Abuja',
+ languages: ['English'],
+ population: 186988000,
+ flag: 'https://restcountries.eu/data/nga.svg',
+ currency: 'Nigerian naira'
+ },
+ {
+ name: 'Niue',
+ capital: 'Alofi',
+ languages: ['English'],
+ population: 1470,
+ flag: 'https://restcountries.eu/data/niu.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Norfolk Island',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2302,
+ flag: 'https://restcountries.eu/data/nfk.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: "Korea (Democratic People's Republic of)",
+ capital: 'Pyongyang',
+ languages: ['Korean'],
+ population: 25281000,
+ flag: 'https://restcountries.eu/data/prk.svg',
+ currency: 'North Korean won'
+ },
+ {
+ name: 'Northern Mariana Islands',
+ capital: 'Saipan',
+ languages: ['English', 'Chamorro'],
+ population: 56940,
+ flag: 'https://restcountries.eu/data/mnp.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Norway',
+ capital: 'Oslo',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 5223256,
+ flag: 'https://restcountries.eu/data/nor.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Oman',
+ capital: 'Muscat',
+ languages: ['Arabic'],
+ population: 4420133,
+ flag: 'https://restcountries.eu/data/omn.svg',
+ currency: 'Omani rial'
+ },
+ {
+ name: 'Pakistan',
+ capital: 'Islamabad',
+ languages: ['English', 'Urdu'],
+ population: 194125062,
+ flag: 'https://restcountries.eu/data/pak.svg',
+ currency: 'Pakistani rupee'
+ },
+ {
+ name: 'Palau',
+ capital: 'Ngerulmud',
+ languages: ['English'],
+ population: 17950,
+ flag: 'https://restcountries.eu/data/plw.svg',
+ currency: '[E]'
+ },
+ {
+ name: 'Palestine, State of',
+ capital: 'Ramallah',
+ languages: ['Arabic'],
+ population: 4682467,
+ flag: 'https://restcountries.eu/data/pse.svg',
+ currency: 'Israeli new sheqel'
+ },
+ {
+ name: 'Panama',
+ capital: 'Panama City',
+ languages: ['Spanish'],
+ population: 3814672,
+ flag: 'https://restcountries.eu/data/pan.svg',
+ currency: 'Panamanian balboa'
+ },
+ {
+ name: 'Papua New Guinea',
+ capital: 'Port Moresby',
+ languages: ['English'],
+ population: 8083700,
+ flag: 'https://restcountries.eu/data/png.svg',
+ currency: 'Papua New Guinean kina'
+ },
+ {
+ name: 'Paraguay',
+ capital: 'AsunciĂłn',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 6854536,
+ flag: 'https://restcountries.eu/data/pry.svg',
+ currency: 'Paraguayan guaranĂ'
+ },
+ {
+ name: 'Peru',
+ capital: 'Lima',
+ languages: ['Spanish'],
+ population: 31488700,
+ flag: 'https://restcountries.eu/data/per.svg',
+ currency: 'Peruvian sol'
+ },
+ {
+ name: 'Philippines',
+ capital: 'Manila',
+ languages: ['English'],
+ population: 103279800,
+ flag: 'https://restcountries.eu/data/phl.svg',
+ currency: 'Philippine peso'
+ },
+ {
+ name: 'Pitcairn',
+ capital: 'Adamstown',
+ languages: ['English'],
+ population: 56,
+ flag: 'https://restcountries.eu/data/pcn.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Poland',
+ capital: 'Warsaw',
+ languages: ['Polish'],
+ population: 38437239,
+ flag: 'https://restcountries.eu/data/pol.svg',
+ currency: 'Polish zĆoty'
+ },
+ {
+ name: 'Portugal',
+ capital: 'Lisbon',
+ languages: ['Portuguese'],
+ population: 10374822,
+ flag: 'https://restcountries.eu/data/prt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Puerto Rico',
+ capital: 'San Juan',
+ languages: ['Spanish', 'English'],
+ population: 3474182,
+ flag: 'https://restcountries.eu/data/pri.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Qatar',
+ capital: 'Doha',
+ languages: ['Arabic'],
+ population: 2587564,
+ flag: 'https://restcountries.eu/data/qat.svg',
+ currency: 'Qatari riyal'
+ },
+ {
+ name: 'Republic of Kosovo',
+ capital: 'Pristina',
+ languages: ['Albanian', 'Serbian'],
+ population: 1733842,
+ flag: 'https://restcountries.eu/data/kos.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Réunion',
+ capital: 'Saint-Denis',
+ languages: ['French'],
+ population: 840974,
+ flag: 'https://restcountries.eu/data/reu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Romania',
+ capital: 'Bucharest',
+ languages: ['Romanian'],
+ population: 19861408,
+ flag: 'https://restcountries.eu/data/rou.svg',
+ currency: 'Romanian leu'
+ },
+ {
+ name: 'Russian Federation',
+ capital: 'Moscow',
+ languages: ['Russian'],
+ population: 146599183,
+ flag: 'https://restcountries.eu/data/rus.svg',
+ currency: 'Russian ruble'
+ },
+ {
+ name: 'Rwanda',
+ capital: 'Kigali',
+ languages: ['Kinyarwanda', 'English', 'French'],
+ population: 11553188,
+ flag: 'https://restcountries.eu/data/rwa.svg',
+ currency: 'Rwandan franc'
+ },
+ {
+ name: 'Saint Barthélemy',
+ capital: 'Gustavia',
+ languages: ['French'],
+ population: 9417,
+ flag: 'https://restcountries.eu/data/blm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Helena, Ascension and Tristan da Cunha',
+ capital: 'Jamestown',
+ languages: ['English'],
+ population: 4255,
+ flag: 'https://restcountries.eu/data/shn.svg',
+ currency: 'Saint Helena pound'
+ },
+ {
+ name: 'Saint Kitts and Nevis',
+ capital: 'Basseterre',
+ languages: ['English'],
+ population: 46204,
+ flag: 'https://restcountries.eu/data/kna.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Lucia',
+ capital: 'Castries',
+ languages: ['English'],
+ population: 186000,
+ flag: 'https://restcountries.eu/data/lca.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Martin (French part)',
+ capital: 'Marigot',
+ languages: ['English', 'French', 'Dutch'],
+ population: 36979,
+ flag: 'https://restcountries.eu/data/maf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Pierre and Miquelon',
+ capital: 'Saint-Pierre',
+ languages: ['French'],
+ population: 6069,
+ flag: 'https://restcountries.eu/data/spm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Vincent and the Grenadines',
+ capital: 'Kingstown',
+ languages: ['English'],
+ population: 109991,
+ flag: 'https://restcountries.eu/data/vct.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Samoa',
+ capital: 'Apia',
+ languages: ['Samoan', 'English'],
+ population: 194899,
+ flag: 'https://restcountries.eu/data/wsm.svg',
+ currency: 'Samoan tÄlÄ'
+ },
+ {
+ name: 'San Marino',
+ capital: 'City of San Marino',
+ languages: ['Italian'],
+ population: 33005,
+ flag: 'https://restcountries.eu/data/smr.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sao Tome and Principe',
+ capital: 'São Tomé',
+ languages: ['Portuguese'],
+ population: 187356,
+ flag: 'https://restcountries.eu/data/stp.svg',
+ currency: 'SĂŁo TomĂ© and PrĂncipe dobra'
+ },
+ {
+ name: 'Saudi Arabia',
+ capital: 'Riyadh',
+ languages: ['Arabic'],
+ population: 32248200,
+ flag: 'https://restcountries.eu/data/sau.svg',
+ currency: 'Saudi riyal'
+ },
+ {
+ name: 'Senegal',
+ capital: 'Dakar',
+ languages: ['French'],
+ population: 14799859,
+ flag: 'https://restcountries.eu/data/sen.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Serbia',
+ capital: 'Belgrade',
+ languages: ['Serbian'],
+ population: 7076372,
+ flag: 'https://restcountries.eu/data/srb.svg',
+ currency: 'Serbian dinar'
+ },
+ {
+ name: 'Seychelles',
+ capital: 'Victoria',
+ languages: ['French', 'English'],
+ population: 91400,
+ flag: 'https://restcountries.eu/data/syc.svg',
+ currency: 'Seychellois rupee'
+ },
+ {
+ name: 'Sierra Leone',
+ capital: 'Freetown',
+ languages: ['English'],
+ population: 7075641,
+ flag: 'https://restcountries.eu/data/sle.svg',
+ currency: 'Sierra Leonean leone'
+ },
+ {
+ name: 'Singapore',
+ capital: 'Singapore',
+ languages: ['English', 'Malay', 'Tamil', 'Chinese'],
+ population: 5535000,
+ flag: 'https://restcountries.eu/data/sgp.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Sint Maarten (Dutch part)',
+ capital: 'Philipsburg',
+ languages: ['Dutch', 'English'],
+ population: 38247,
+ flag: 'https://restcountries.eu/data/sxm.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Slovakia',
+ capital: 'Bratislava',
+ languages: ['Slovak'],
+ population: 5426252,
+ flag: 'https://restcountries.eu/data/svk.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Slovenia',
+ capital: 'Ljubljana',
+ languages: ['Slovene'],
+ population: 2064188,
+ flag: 'https://restcountries.eu/data/svn.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Solomon Islands',
+ capital: 'Honiara',
+ languages: ['English'],
+ population: 642000,
+ flag: 'https://restcountries.eu/data/slb.svg',
+ currency: 'Solomon Islands dollar'
+ },
+ {
+ name: 'Somalia',
+ capital: 'Mogadishu',
+ languages: ['Somali', 'Arabic'],
+ population: 11079000,
+ flag: 'https://restcountries.eu/data/som.svg',
+ currency: 'Somali shilling'
+ },
+ {
+ name: 'South Africa',
+ capital: 'Pretoria',
+ languages: [
+ 'Afrikaans',
+ 'English',
+ 'Southern Ndebele',
+ 'Southern Sotho',
+ 'Swati',
+ 'Tswana',
+ 'Tsonga',
+ 'Venda',
+ 'Xhosa',
+ 'Zulu'
+ ],
+ population: 55653654,
+ flag: 'https://restcountries.eu/data/zaf.svg',
+ currency: 'South African rand'
+ },
+ {
+ name: 'South Georgia and the South Sandwich Islands',
+ capital: 'King Edward Point',
+ languages: ['English'],
+ population: 30,
+ flag: 'https://restcountries.eu/data/sgs.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Korea (Republic of)',
+ capital: 'Seoul',
+ languages: ['Korean'],
+ population: 50801405,
+ flag: 'https://restcountries.eu/data/kor.svg',
+ currency: 'South Korean won'
+ },
+ {
+ name: 'South Sudan',
+ capital: 'Juba',
+ languages: ['English'],
+ population: 12131000,
+ flag: 'https://restcountries.eu/data/ssd.svg',
+ currency: 'South Sudanese pound'
+ },
+ {
+ name: 'Spain',
+ capital: 'Madrid',
+ languages: ['Spanish'],
+ population: 46438422,
+ flag: 'https://restcountries.eu/data/esp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sri Lanka',
+ capital: 'Colombo',
+ languages: ['Sinhalese', 'Tamil'],
+ population: 20966000,
+ flag: 'https://restcountries.eu/data/lka.svg',
+ currency: 'Sri Lankan rupee'
+ },
+ {
+ name: 'Sudan',
+ capital: 'Khartoum',
+ languages: ['Arabic', 'English'],
+ population: 39598700,
+ flag: 'https://restcountries.eu/data/sdn.svg',
+ currency: 'Sudanese pound'
+ },
+ {
+ name: 'Suriname',
+ capital: 'Paramaribo',
+ languages: ['Dutch'],
+ population: 541638,
+ flag: 'https://restcountries.eu/data/sur.svg',
+ currency: 'Surinamese dollar'
+ },
+ {
+ name: 'Svalbard and Jan Mayen',
+ capital: 'Longyearbyen',
+ languages: ['Norwegian'],
+ population: 2562,
+ flag: 'https://restcountries.eu/data/sjm.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Swaziland',
+ capital: 'Lobamba',
+ languages: ['English', 'Swati'],
+ population: 1132657,
+ flag: 'https://restcountries.eu/data/swz.svg',
+ currency: 'Swazi lilangeni'
+ },
+ {
+ name: 'Sweden',
+ capital: 'Stockholm',
+ languages: ['Swedish'],
+ population: 9894888,
+ flag: 'https://restcountries.eu/data/swe.svg',
+ currency: 'Swedish krona'
+ },
+ {
+ name: 'Switzerland',
+ capital: 'Bern',
+ languages: ['German', 'French', 'Italian'],
+ population: 8341600,
+ flag: 'https://restcountries.eu/data/che.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Syrian Arab Republic',
+ capital: 'Damascus',
+ languages: ['Arabic'],
+ population: 18564000,
+ flag: 'https://restcountries.eu/data/syr.svg',
+ currency: 'Syrian pound'
+ },
+ {
+ name: 'Taiwan',
+ capital: 'Taipei',
+ languages: ['Chinese'],
+ population: 23503349,
+ flag: 'https://restcountries.eu/data/twn.svg',
+ currency: 'New Taiwan dollar'
+ },
+ {
+ name: 'Tajikistan',
+ capital: 'Dushanbe',
+ languages: ['Tajik', 'Russian'],
+ population: 8593600,
+ flag: 'https://restcountries.eu/data/tjk.svg',
+ currency: 'Tajikistani somoni'
+ },
+ {
+ name: 'Tanzania, United Republic of',
+ capital: 'Dodoma',
+ languages: ['Swahili', 'English'],
+ population: 55155000,
+ flag: 'https://restcountries.eu/data/tza.svg',
+ currency: 'Tanzanian shilling'
+ },
+ {
+ name: 'Thailand',
+ capital: 'Bangkok',
+ languages: ['Thai'],
+ population: 65327652,
+ flag: 'https://restcountries.eu/data/tha.svg',
+ currency: 'Thai baht'
+ },
+ {
+ name: 'Timor-Leste',
+ capital: 'Dili',
+ languages: ['Portuguese'],
+ population: 1167242,
+ flag: 'https://restcountries.eu/data/tls.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Togo',
+ capital: 'Lomé',
+ languages: ['French'],
+ population: 7143000,
+ flag: 'https://restcountries.eu/data/tgo.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Tokelau',
+ capital: 'Fakaofo',
+ languages: ['English'],
+ population: 1411,
+ flag: 'https://restcountries.eu/data/tkl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Tonga',
+ capital: "Nuku'alofa",
+ languages: ['English', 'Tonga (Tonga Islands)'],
+ population: 103252,
+ flag: 'https://restcountries.eu/data/ton.svg',
+ currency: 'Tongan paʻanga'
+ },
+ {
+ name: 'Trinidad and Tobago',
+ capital: 'Port of Spain',
+ languages: ['English'],
+ population: 1349667,
+ flag: 'https://restcountries.eu/data/tto.svg',
+ currency: 'Trinidad and Tobago dollar'
+ },
+ {
+ name: 'Tunisia',
+ capital: 'Tunis',
+ languages: ['Arabic'],
+ population: 11154400,
+ flag: 'https://restcountries.eu/data/tun.svg',
+ currency: 'Tunisian dinar'
+ },
+ {
+ name: 'Turkey',
+ capital: 'Ankara',
+ languages: ['Turkish'],
+ population: 78741053,
+ flag: 'https://restcountries.eu/data/tur.svg',
+ currency: 'Turkish lira'
+ },
+ {
+ name: 'Turkmenistan',
+ capital: 'Ashgabat',
+ languages: ['Turkmen', 'Russian'],
+ population: 4751120,
+ flag: 'https://restcountries.eu/data/tkm.svg',
+ currency: 'Turkmenistan manat'
+ },
+ {
+ name: 'Turks and Caicos Islands',
+ capital: 'Cockburn Town',
+ languages: ['English'],
+ population: 31458,
+ flag: 'https://restcountries.eu/data/tca.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Tuvalu',
+ capital: 'Funafuti',
+ languages: ['English'],
+ population: 10640,
+ flag: 'https://restcountries.eu/data/tuv.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Uganda',
+ capital: 'Kampala',
+ languages: ['English', 'Swahili'],
+ population: 33860700,
+ flag: 'https://restcountries.eu/data/uga.svg',
+ currency: 'Ugandan shilling'
+ },
+ {
+ name: 'Ukraine',
+ capital: 'Kiev',
+ languages: ['Ukrainian'],
+ population: 42692393,
+ flag: 'https://restcountries.eu/data/ukr.svg',
+ currency: 'Ukrainian hryvnia'
+ },
+ {
+ name: 'United Arab Emirates',
+ capital: 'Abu Dhabi',
+ languages: ['Arabic'],
+ population: 9856000,
+ flag: 'https://restcountries.eu/data/are.svg',
+ currency: 'United Arab Emirates dirham'
+ },
+ {
+ name: 'United Kingdom of Great Britain and Northern Ireland',
+ capital: 'London',
+ languages: ['English'],
+ population: 65110000,
+ flag: 'https://restcountries.eu/data/gbr.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'United States of America',
+ capital: 'Washington, D.C.',
+ languages: ['English'],
+ population: 323947000,
+ flag: 'https://restcountries.eu/data/usa.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Uruguay',
+ capital: 'Montevideo',
+ languages: ['Spanish'],
+ population: 3480222,
+ flag: 'https://restcountries.eu/data/ury.svg',
+ currency: 'Uruguayan peso'
+ },
+ {
+ name: 'Uzbekistan',
+ capital: 'Tashkent',
+ languages: ['Uzbek', 'Russian'],
+ population: 31576400,
+ flag: 'https://restcountries.eu/data/uzb.svg',
+ currency: "Uzbekistani so'm"
+ },
+ {
+ name: 'Vanuatu',
+ capital: 'Port Vila',
+ languages: ['Bislama', 'English', 'French'],
+ population: 277500,
+ flag: 'https://restcountries.eu/data/vut.svg',
+ currency: 'Vanuatu vatu'
+ },
+ {
+ name: 'Venezuela (Bolivarian Republic of)',
+ capital: 'Caracas',
+ languages: ['Spanish'],
+ population: 31028700,
+ flag: 'https://restcountries.eu/data/ven.svg',
+ currency: 'Venezuelan bolĂvar'
+ },
+ {
+ name: 'Viet Nam',
+ capital: 'Hanoi',
+ languages: ['Vietnamese'],
+ population: 92700000,
+ flag: 'https://restcountries.eu/data/vnm.svg',
+ currency: 'Vietnamese Äá»ng'
+ },
+ {
+ name: 'Wallis and Futuna',
+ capital: 'Mata-Utu',
+ languages: ['French'],
+ population: 11750,
+ flag: 'https://restcountries.eu/data/wlf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'Western Sahara',
+ capital: 'El AaiĂșn',
+ languages: ['Spanish'],
+ population: 510713,
+ flag: 'https://restcountries.eu/data/esh.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Yemen',
+ capital: "Sana'a",
+ languages: ['Arabic'],
+ population: 27478000,
+ flag: 'https://restcountries.eu/data/yem.svg',
+ currency: 'Yemeni rial'
+ },
+ {
+ name: 'Zambia',
+ capital: 'Lusaka',
+ languages: ['English'],
+ population: 15933883,
+ flag: 'https://restcountries.eu/data/zmb.svg',
+ currency: 'Zambian kwacha'
+ },
+ {
+ name: 'Zimbabwe',
+ capital: 'Harare',
+ languages: ['English', 'Shona', 'Northern Ndebele'],
+ population: 14240168,
+ flag: 'https://restcountries.eu/data/zwe.svg',
+ currency: 'Botswana pula'
+ }
+]
diff --git a/14_Day/14_day_starter/index.html b/14_Day/14_day_starter/index.html
new file mode 100644
index 0000000..b5aa290
--- /dev/null
+++ b/14_Day/14_day_starter/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ 30DaysOfJavaScript:12 Day
+
+
+
+ 30DaysOfJavaScript:14 Day
+ DOM
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/14_Day/14_day_starter/scripts/main.js b/14_Day/14_day_starter/scripts/main.js
new file mode 100644
index 0000000..c6045c8
--- /dev/null
+++ b/14_Day/14_day_starter/scripts/main.js
@@ -0,0 +1,2 @@
+console.log(countries)
+alert('Open the console and check if the countries has been loaded')
\ No newline at end of file
diff --git a/15_Day/15_day_classes.md b/15_Day/15_day_classes.md
new file mode 100644
index 0000000..400d03d
--- /dev/null
+++ b/15_Day/15_day_classes.md
@@ -0,0 +1,715 @@
+
+
+[<< Day 14](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/14_Day/14_day_error_handling.md) | [Day 16>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/16_Day/16_day_json.md)
+
+
+
+- [Day 15](#day-15)
+ - [Classes](#classes)
+ - [Defining a classes](#defining-a-classes)
+ - [Class Instantiation](#class-instantiation)
+ - [Class Constructor](#class-constructor)
+ - [Default values with constructor](#default-values-with-constructor)
+ - [Class methods](#class-methods)
+ - [Properties with initial value](#properties-with-initial-value)
+ - [getter](#getter)
+ - [setter](#setter)
+ - [Static method](#static-method)
+ - [Inheritance](#inheritance)
+ - [Overriding methods](#overriding-methods)
+ - [Exercises](#exercises)
+ - [Exercises Level 1](#exercises-level-1)
+ - [Exercises Level 2](#exercises-level-2)
+ - [Exercises Level 3](#exercises-level-3)
+
+# Day 15
+
+## Classes
+
+JavaScript is an object oriented programming language. Everything in JavScript is an object, with its properties and methods. We create class to create an object. A Class is like an object constructor, or a "blueprint" for creating objects. We instantiate a class to create an object. The class defines attributes and the behavior of the object, while the object, on the other hand, represents the class.
+
+Once we create a class we can create object from it whenever we want. Creating an object from a class is called class instantiation.
+
+In the object section, we saw how to create an object literal. Object literal is a singleton. If we want to get a similar object , we have to write it. However, class allows to create many objects. This helps to reduce amount of code and repetition of code.
+
+### Defining a classes
+
+To define a class in JavaScript we need the keyword _class_ , the name of a class in **CamelCase** and block code(two curly brackets). Let us create a class name Person.
+
+```sh
+// syntax
+class ClassName {
+ // code goes here
+}
+
+```
+
+**Example:**
+
+```js
+class Person {
+ // code goes here
+}
+```
+
+We have created an Person class but it does not have any thing inside.
+
+### Class Instantiation
+
+Instantiation class means creating an object from a class. We need the keyword _new_ and we call the name of the class after the word new.
+
+Let us create a dog object from our Person class.
+
+```js
+class Person {
+ // code goes here
+}
+const person = new Person()
+console.log(person)
+```
+
+```sh
+Person {}
+```
+
+As you can see, we have created a person object. Since the class did not have any properties yet the object is also empty.
+
+Let use the class constructor to pass different properties for the class.
+
+### Class Constructor
+
+The constructor is a builtin function which allows as to create a blueprint for our object. The constructor function starts with a keyword constructor followed by a parenthesis. Inside the parenthesis we pass the properties of the object as parameter. We use the _this_ keyword to attach the constructor parameters with the class.
+
+The following Person class constructor has firstName and lastName property. These properties are attached to the Person class using _this_ keyword. _This_ refers to the class itself.
+
+```js
+class Person {
+ constructor(firstName, lastName) {
+ console.log(this) // Check the output from here
+ this.firstName = firstName
+ this.lastName = lastName
+ }
+}
+
+const person = new Person()
+
+console.log(person)
+```
+
+```sh
+Person {firstName: undefined, lastName}
+```
+
+All the keys of the object are undefined. When ever we instantiate we should pass the value of the properties. Let us pass value at this time when we instantiate the class.
+
+```js
+class Person {
+ constructor(firstName, lastName) {
+ this.firstName = firstName
+ this.lastName = lastName
+ }
+}
+
+const person1 = new Person('Asabeneh', 'Yetayeh')
+
+console.log(person1)
+```
+
+```sh
+Person {firstName: "Asabeneh", lastName: "Yetayeh"}
+```
+
+As we have stated at the very beginning that once we create a class we can create many object using the class. Now, let us create many person objects using the Person class.
+
+```js
+class Person {
+ constructor(firstName, lastName) {
+ console.log(this) // Check the output from here
+ this.firstName = firstName
+ this.lastName = lastName
+ }
+}
+
+const person1 = new Person('Asabeneh', 'Yetayeh')
+const person2 = new Person('Lidiya', 'Tekle')
+const person3 = new Person('Abraham', 'Yetayeh')
+
+console.log(person1)
+console.log(person2)
+console.log(person3)
+```
+
+```sh
+Person {firstName: "Asabeneh", lastName: "Yetayeh"}
+Person {firstName: "Lidiya", lastName: "Tekle"}
+Person {firstName: "Abraham", lastName: "Yetayeh"}
+```
+
+Using the class Person we created three persons object. As you can see our class did not many properties let us add more properties to the class.
+
+```js
+class Person {
+ constructor(firstName, lastName, age, country, city) {
+ console.log(this) // Check the output from here
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ }
+}
+
+const person1 = new Person('Asabeneh', 'Yetayeh', 250, 'Finland', 'Helsinki')
+
+console.log(person1)
+```
+
+```sh
+Person {firstName: "Asabeneh", lastName: "Yetayeh", age: 250, country: "Finland", city: "Helsinki"}
+```
+
+### Default values with constructor
+
+The constructor function properties may have a default value like other regular functions.
+
+```js
+class Person {
+ constructor(
+ firstName = 'Asabeneh',
+ lastName = 'Yetayeh',
+ age = 250,
+ country = 'Finland',
+ city = 'Helsinki'
+ ) {
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ }
+}
+
+const person1 = new Person() // it will take the default values
+const person2 = new Person('Lidiya', 'Tekle', 28, 'Finland', 'Espoo')
+
+console.log(person1)
+console.log(person2)
+```
+
+```sh
+Person {firstName: "Asabeneh", lastName: "Yetayeh", age: 250, country: "Finland", city: "Helsinki"}
+Person {firstName: "Lidiya", lastName: "Tekle", age: 28, country: "Finland", city: "Espoo"}
+```
+
+### Class methods
+
+The constructor inside a class is a builtin function which allow us to create a blueprint for the object. In a class we can create class methods. Methods are JavaScript functions inside the class. Let us create some class methods.
+
+```js
+class Person {
+ constructor(firstName, lastName, age, country, city) {
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ }
+ getFullName() {
+ const fullName = this.firstName + ' ' + this.lastName
+ return fullName
+ }
+}
+
+const person1 = new Person('Asabeneh', 'Yetayeh', 250, 'Finland', 'Helsinki')
+const person2 = new Person('Lidiya', 'Tekle', 28, 'Finland', 'Espoo')
+
+console.log(person1.getFullName())
+console.log(person2.getFullName())
+```
+
+```sh
+Asabeneh Yetayeh
+test.js:19 Lidiya Tekle
+```
+
+### Properties with initial value
+
+When we create a class for some properties we may have an initial value. For instance if you are playing a game, you starting score will be zero. So, we may have a starting score or score which is zero. In other way, we may have an initial skill and we will acquire some skill after some time.
+
+```js
+class Person {
+ constructor(firstName, lastName, age, country, city) {
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ this.score = 0
+ this.skills = []
+ }
+ getFullName() {
+ const fullName = this.firstName + ' ' + this.lastName
+ return fullName
+ }
+}
+
+const person1 = new Person('Asabeneh', 'Yetayeh', 250, 'Finland', 'Helsinki')
+const person2 = new Person('Lidiya', 'Tekle', 28, 'Finland', 'Espoo')
+
+console.log(person1.score)
+console.log(person2.score)
+
+console.log(person1.skills)
+console.log(person2.skills)
+```
+
+```sh
+0
+0
+[]
+[]
+```
+
+A method could be regular method or a getter or a setter. Let us see, getter and setter.
+
+### getter
+
+The get method allow us to access value from the object. We write a get method using keyword _get_ followed by a function. Instead of accessing properties directly from the object we use getter to get the value. See the example bellow
+
+```js
+class Person {
+ constructor(firstName, lastName, age, country, city) {
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ this.score = 0
+ this.skills = []
+ }
+ getFullName() {
+ const fullName = this.firstName + ' ' + this.lastName
+ return fullName
+ }
+ get getscore() {
+ return this.score
+ }
+ get getSkills() {
+ return this.skills
+ }
+}
+
+const person1 = new Person('Asabeneh', 'Yetayeh', 250, 'Finland', 'Helsinki')
+const person2 = new Person('Lidiya', 'Tekle', 28, 'Finland', 'Espoo')
+
+console.log(person1.getScore) // We do not need parenthesis to call a getter method
+console.log(person2.getScore)
+
+console.log(person1.getSkills)
+console.log(person2.getSkills)
+```
+
+```sh
+0
+0
+[]
+[]
+```
+
+### setter
+
+The setter method allow us to modify the value of certain properties. We write a setter method using keyword _set_ followed by a function. See the example bellow.
+
+```js
+class Person {
+ constructor(firstName, lastName, age, country, city) {
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ this.score = 0
+ this.skills = []
+ }
+ getFullName() {
+ const fullName = this.firstName + ' ' + this.lastName
+ return fullName
+ }
+ get getScore() {
+ return this.score
+ }
+ get getSkills() {
+ return this.skills
+ }
+ set setScore(score) {
+ this.score += score
+ }
+ set setSkill(skill) {
+ this.skills.push(skill)
+ }
+}
+
+const person1 = new Person('Asabeneh', 'Yetayeh', 250, 'Finland', 'Helsinki')
+const person2 = new Person('Lidiya', 'Tekle', 28, 'Finland', 'Espoo')
+
+person1.setScore = 1
+person1.setSkill = 'HTML'
+person1.setSkill = 'CSS'
+person1.setSkill = 'JavaScript'
+
+person2.setScore = 1
+person2.setSkill = 'Planning'
+person2.setSkill = 'Managing'
+person2.setSkill = 'Organizing'
+
+console.log(person1.score)
+console.log(person2.score)
+
+console.log(person1.skills)
+console.log(person2.skills)
+```
+
+```sh
+1
+1
+["HTML", "CSS", "JavaScript"]
+["Planning", "Managing", "Organizing"]
+```
+
+Do not be puzzled by the difference between regular method and a getter. If you know how to make a regular method you are good. Let us add regular method called getPersonInfo in the Person class.
+
+```js
+class Person {
+ constructor(firstName, lastName, age, country, city) {
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ this.score = 0
+ this.skills = []
+ }
+ getFullName() {
+ const fullName = this.firstName + ' ' + this.lastName
+ return fullName
+ }
+ get getScore() {
+ return this.score
+ }
+ get getSkills() {
+ return this.skills
+ }
+ set setScore(score) {
+ this.score += score
+ }
+ set setSkill(skill) {
+ this.skills.push(skill)
+ }
+ getPersonInfo() {
+ let fullName = this.getFullName()
+ let skills =
+ this.skills.length > 0 &&
+ this.skills.slice(0, this.skills.length - 1).join(', ') +
+ ` and ${this.skills[this.skills.length - 1]}`
+ let formattedSkills = skills ? `He knows ${skills}` : ''
+
+ let info = `${fullName} is ${this.age}. He lives ${this.city}, ${this.country}. ${formattedSkills}`
+ return info
+ }
+}
+
+const person1 = new Person('Asabeneh', 'Yetayeh', 250, 'Finland', 'Helsinki')
+const person2 = new Person('Lidiya', 'Tekle', 28, 'Finland', 'Espoo')
+const person3 = new Person('John', 'Doe', 50, 'Mars', 'Mars city')
+
+person1.setScore = 1
+person1.setSkill = 'HTML'
+person1.setSkill = 'CSS'
+person1.setSkill = 'JavaScript'
+
+person2.setScore = 1
+person2.setSkill = 'Planning'
+person2.setSkill = 'Managing'
+person2.setSkill = 'Organizing'
+
+console.log(person1.getScore)
+console.log(person2.getScore)
+
+console.log(person1.getSkills)
+console.log(person2.getSkills)
+console.log(person3.getSkills)
+
+console.log(person1.getPersonInfo())
+console.log(person2.getPersonInfo())
+console.log(person3.getPersonInfo())
+```
+
+```sh
+1
+1
+["HTML", "CSS", "JavaScript"]
+["Planning", "Managing", "Organizing"]
+[]
+Asabeneh Yetayeh is 250. He lives Helsinki, Finland. He knows HTML, CSS and JavaScript
+Lidiya Tekle is 28. He lives Espoo, Finland. He knows Planning, Managing and Organizing
+John Doe is 50. He lives Mars city, Mars.
+```
+
+### Static method
+
+The static keyword defines a static method for a class. Static methods are not called on instances of the class. Instead, they are called on the class itself. These are often utility functions, such as functions to create or clone objects. An example of static method is _Date.now()_. The _now_ method is called directly from the class.
+
+```js
+class Person {
+ constructor(firstName, lastName, age, country, city) {
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ this.score = 0
+ this.skills = []
+ }
+ getFullName() {
+ const fullName = this.firstName + ' ' + this.lastName
+ return fullName
+ }
+ get getScore() {
+ return this.score
+ }
+ get getSkills() {
+ return this.skills
+ }
+ set setScore(score) {
+ this.score += score
+ }
+ set setSkill(skill) {
+ this.skills.push(skill)
+ }
+ getPersonInfo() {
+ let fullName = this.getFullName()
+ let skills =
+ this.skills.length > 0 &&
+ this.skills.slice(0, this.skills.length - 1).join(', ') +
+ ` and ${this.skills[this.skills.length - 1]}`
+
+ let formattedSkills = skills ? `He knows ${skills}` : ''
+
+ let info = `${fullName} is ${this.age}. He lives ${this.city}, ${this.country}. ${formattedSkills}`
+ return info
+ }
+ static favoriteSkill() {
+ const skills = ['HTML', 'CSS', 'JS', 'React', 'Python', 'Node']
+ const index = Math.floor(Math.random() * skills.length)
+ return skills[index]
+ }
+ static showDateTime() {
+ let now = new Date()
+ let year = now.getFullYear()
+ let month = now.getMonth() + 1
+ let date = now.getDate()
+ let hours = now.getHours()
+ let minutes = now.getMinutes()
+ if (hours < 10) {
+ hours = '0' + hours
+ }
+ if (minutes < 10) {
+ minutes = '0' + minutes
+ }
+
+ let dateMonthYear = date + '.' + month + '.' + year
+ let time = hours + ':' + minutes
+ let fullTime = dateMonthYear + ' ' + time
+ return fullTime
+ }
+}
+
+console.log(Person.favoriteSkill())
+console.log(Person.showDateTime())
+```
+
+```sh
+Node
+15.1.2020 23:56
+```
+
+The static methods are methods which can be used as utility functions.
+
+## Inheritance
+
+Using inheritance we can access all the properties and the methods of the parent class. This reduces repetition of code. If you remember, we have a Person parent class and we will create children from it. Our children class could be student, teach etc.
+
+```js
+// syntax
+class ChildClassName extends {
+ // code goes here
+}
+```
+
+Let us create a Student child class from Person parent class.
+
+```js
+class Student extends Person {
+ saySomething() {
+ console.log('I am a child of the person class')
+ }
+}
+
+const s1 = new Student('Asabeneh', 'Yetayeh', 'Finland', 250, 'Helsinki')
+console.log(s1)
+console.log(s1.saySomething())
+console.log(s1.getFullName())
+console.log(s1.getPersonInfo())
+```
+
+```sh
+Student {firstName: "Asabeneh", lastName: "Yetayeh", age: "Finland", country: 250, city: "Helsinki", âŠ}
+I am a child of the person class
+Asabeneh Yetayeh
+Student {firstName: "Asabeneh", lastName: "Yetayeh", age: "Finland", country: 250, city: "Helsinki", âŠ}
+Asabeneh Yetayeh is Finland. He lives Helsinki, 250.
+```
+
+### Overriding methods
+
+As you can see, we manage to access all the methods in the Person Class and we used it in the Student child class. We can customize the parent methods, we can add additional properties to a child class. If we want to customize, the methods and if we want to add extra properties, we need to use the constructor function the child class too. In side the constructor function we call the super() function to access all the properties from the parent class. The Person class didn't have gender but now let us give gender property for the child class, Student. If the same method name used in the child class, the parent method will be overridden.
+
+```js
+class Student extends Person {
+ constructor(firstName, lastName, age, country, city, gender) {
+ super(firstName, lastName, age, country, city)
+ this.gender = gender
+ }
+
+ saySomething() {
+ console.log('I am a child of the person class')
+ }
+ getPersonInfo() {
+ let fullName = this.getFullName()
+ let skills =
+ this.skills.length > 0 &&
+ this.skills.slice(0, this.skills.length - 1).join(', ') +
+ ` and ${this.skills[this.skills.length - 1]}`
+
+ let formattedSkills = skills ? `He knows ${skills}` : ''
+ let pronoun = this.gender == 'Male' ? 'He' : 'She'
+
+ let info = `${fullName} is ${this.age}. ${pronoun} lives in ${this.city}, ${this.country}. ${formattedSkills}`
+ return info
+ }
+}
+
+const s1 = new Student(
+ 'Asabeneh',
+ 'Yetayeh',
+ 250,
+ 'Finland',
+ 'Helsinki',
+ 'Male'
+)
+const s2 = new Student('Lidiya', 'Tekle', 28, 'Finland', 'Helsinki', 'Female')
+s1.setScore = 1
+s1.setSkill = 'HTML'
+s1.setSkill = 'CSS'
+s1.setSkill = 'JavaScript'
+
+s2.setScore = 1
+s2.setSkill = 'Planning'
+s2.setSkill = 'Managing'
+s2.setSkill = 'Organizing'
+
+console.log(s1)
+
+console.log(s1.saySomething())
+console.log(s1.getFullName())
+console.log(s1.getPersonInfo())
+
+console.log(s2.saySomething())
+console.log(s2.getFullName())
+console.log(s2.getPersonInfo())
+```
+
+```sh
+Student {firstName: "Asabeneh", lastName: "Yetayeh", age: 250, country: "Finland", city: "Helsinki", âŠ}
+Student {firstName: "Lidiya", lastName: "Tekle", age: 28, country: "Finland", city: "Helsinki", âŠ}
+I am a child of the person class
+Asabeneh Yetayeh
+Student {firstName: "Asabeneh", lastName: "Yetayeh", age: 250, country: "Finland", city: "Helsinki", âŠ}
+Asabeneh Yetayeh is 250. He lives in Helsinki, Finland. He knows HTML, CSS and JavaScript
+I am a child of the person class
+Lidiya Tekle
+Student {firstName: "Lidiya", lastName: "Tekle", age: 28, country: "Finland", city: "Helsinki", âŠ}
+Lidiya Tekle is 28. She lives in Helsinki, Finland. He knows Planning, Managing and Organizing
+```
+
+Now, the getPersonInfo method has been overridden and it identifies if the person is male or female.
+
+đ You are excelling. Now, you knew class and you have the power to turn everything to an object. You made it to half way to your way to greatness. Now do some exercises for your brain and for your muscle.
+
+## Exercises
+
+### Exercises Level 1
+
+1. Create an Animal class. The class will have name, age, color, legs properties and create different methods
+2. Create a Dog and Cat child class from the Animal Class.
+
+### Exercises Level 2
+
+1. Override the method you create in Animal class
+
+### Exercises Level 3
+
+1. Let's try to develop a program which calculate measure of central tendency of a sample(mean, median, mode) and measure of variability(range, variance, standard deviation). In addition to those measures find the min, max, count, percentile, and frequency distribution of the sample. You can create a class called Statistics and create all the functions which do statistical calculations as method for the Statistics class. Check the output below.
+
+```JS
+ages = [31, 26, 34, 37, 27, 26, 32, 32, 26, 27, 27, 24, 32, 33, 27, 25, 26, 38, 37, 31, 34, 24, 33, 29, 26]
+
+console.log('Count:', statistics.count()) // 25
+console.log('Sum: ', statistics.sum()) // 744
+console.log('Min: ', statistics.min()) // 24
+console.log('Max: ', statistics.max()) // 38
+console.log('Range: ', statistics.range() // 14
+console.log('Mean: ', statistics.mean()) // 30
+console.log('Median: ',statistics.median()) // 29
+console.log('Mode: ', statistics.mode()) // {'mode': 26, 'count': 5}
+console.log('Variance: ',statistics.var()) // 17.5
+console.log('Standard Deviation: ', statistics.std()) // 4.2
+console.log('Variance: ',statistics.var()) // 17.5
+console.log('Frequency Distribution: ',statistics.freqDist()) // [(20.0, 26), (16.0, 27), (12.0, 32), (8.0, 37), (8.0, 34), (8.0, 33), (8.0, 31), (8.0, 24), (4.0, 38), (4.0, 29), (4.0, 25)]
+```
+
+```sh
+// you output should look like this
+console.log(statistics.describe())
+Count: 25
+Sum: 744
+Min: 24
+Max: 38
+Range: 14
+Mean: 30
+Median: 29
+Mode: (26, 5)
+Variance: 17.5
+Standard Deviation: 4.2
+Frequency Distribution: [(20.0, 26), (16.0, 27), (12.0, 32), (8.0, 37), (8.0, 34), (8.0, 33), (8.0, 31), (8.0, 24), (4.0, 38), (4.0, 29), (4.0, 25)]
+```
+
+1. Create a class called PersonAccount. It has firstname, lastname, incomes, expenses properties and it has totalIncome, totalExpense, accountInfo,addIncome, addExpense and accountBalance methods. Incomes is a set of incomes and its description and expenses is also a set of expenses and its description.
+
+đ CONGRATULATIONS ! đ
+
+[<< Day 14](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/14_Day/14_day_error_handling.md) | [Day 16>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/16_Day/16_day_json.md)
diff --git a/15_Day/15_day_starter/data/countries_data.js b/15_Day/15_day_starter/data/countries_data.js
new file mode 100644
index 0000000..92acddd
--- /dev/null
+++ b/15_Day/15_day_starter/data/countries_data.js
@@ -0,0 +1,2013 @@
+const countries = [
+ {
+ name: 'Afghanistan',
+ capital: 'Kabul',
+ languages: ['Pashto', 'Uzbek', 'Turkmen'],
+ population: 27657145,
+ flag: 'https://restcountries.eu/data/afg.svg',
+ currency: 'Afghan afghani'
+ },
+ {
+ name: 'Ă
land Islands',
+ capital: 'Mariehamn',
+ languages: ['Swedish'],
+ population: 28875,
+ flag: 'https://restcountries.eu/data/ala.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Albania',
+ capital: 'Tirana',
+ languages: ['Albanian'],
+ population: 2886026,
+ flag: 'https://restcountries.eu/data/alb.svg',
+ currency: 'Albanian lek'
+ },
+ {
+ name: 'Algeria',
+ capital: 'Algiers',
+ languages: ['Arabic'],
+ population: 40400000,
+ flag: 'https://restcountries.eu/data/dza.svg',
+ currency: 'Algerian dinar'
+ },
+ {
+ name: 'American Samoa',
+ capital: 'Pago Pago',
+ languages: ['English', 'Samoan'],
+ population: 57100,
+ flag: 'https://restcountries.eu/data/asm.svg',
+ currency: 'United State Dollar'
+ },
+ {
+ name: 'Andorra',
+ capital: 'Andorra la Vella',
+ languages: ['Catalan'],
+ population: 78014,
+ flag: 'https://restcountries.eu/data/and.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Angola',
+ capital: 'Luanda',
+ languages: ['Portuguese'],
+ population: 25868000,
+ flag: 'https://restcountries.eu/data/ago.svg',
+ currency: 'Angolan kwanza'
+ },
+ {
+ name: 'Anguilla',
+ capital: 'The Valley',
+ languages: ['English'],
+ population: 13452,
+ flag: 'https://restcountries.eu/data/aia.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Antarctica',
+ capital: '',
+ languages: ['English', 'Russian'],
+ population: 1000,
+ flag: 'https://restcountries.eu/data/ata.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Antigua and Barbuda',
+ capital: "Saint John's",
+ languages: ['English'],
+ population: 86295,
+ flag: 'https://restcountries.eu/data/atg.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Argentina',
+ capital: 'Buenos Aires',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 43590400,
+ flag: 'https://restcountries.eu/data/arg.svg',
+ currency: 'Argentine peso'
+ },
+ {
+ name: 'Armenia',
+ capital: 'Yerevan',
+ languages: ['Armenian', 'Russian'],
+ population: 2994400,
+ flag: 'https://restcountries.eu/data/arm.svg',
+ currency: 'Armenian dram'
+ },
+ {
+ name: 'Aruba',
+ capital: 'Oranjestad',
+ languages: ['Dutch', '(Eastern) Punjabi'],
+ population: 107394,
+ flag: 'https://restcountries.eu/data/abw.svg',
+ currency: 'Aruban florin'
+ },
+ {
+ name: 'Australia',
+ capital: 'Canberra',
+ languages: ['English'],
+ population: 24117360,
+ flag: 'https://restcountries.eu/data/aus.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Austria',
+ capital: 'Vienna',
+ languages: ['German'],
+ population: 8725931,
+ flag: 'https://restcountries.eu/data/aut.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Azerbaijan',
+ capital: 'Baku',
+ languages: ['Azerbaijani'],
+ population: 9730500,
+ flag: 'https://restcountries.eu/data/aze.svg',
+ currency: 'Azerbaijani manat'
+ },
+ {
+ name: 'Bahamas',
+ capital: 'Nassau',
+ languages: ['English'],
+ population: 378040,
+ flag: 'https://restcountries.eu/data/bhs.svg',
+ currency: 'Bahamian dollar'
+ },
+ {
+ name: 'Bahrain',
+ capital: 'Manama',
+ languages: ['Arabic'],
+ population: 1404900,
+ flag: 'https://restcountries.eu/data/bhr.svg',
+ currency: 'Bahraini dinar'
+ },
+ {
+ name: 'Bangladesh',
+ capital: 'Dhaka',
+ languages: ['Bengali'],
+ population: 161006790,
+ flag: 'https://restcountries.eu/data/bgd.svg',
+ currency: 'Bangladeshi taka'
+ },
+ {
+ name: 'Barbados',
+ capital: 'Bridgetown',
+ languages: ['English'],
+ population: 285000,
+ flag: 'https://restcountries.eu/data/brb.svg',
+ currency: 'Barbadian dollar'
+ },
+ {
+ name: 'Belarus',
+ capital: 'Minsk',
+ languages: ['Belarusian', 'Russian'],
+ population: 9498700,
+ flag: 'https://restcountries.eu/data/blr.svg',
+ currency: 'New Belarusian ruble'
+ },
+ {
+ name: 'Belgium',
+ capital: 'Brussels',
+ languages: ['Dutch', 'French', 'German'],
+ population: 11319511,
+ flag: 'https://restcountries.eu/data/bel.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Belize',
+ capital: 'Belmopan',
+ languages: ['English', 'Spanish'],
+ population: 370300,
+ flag: 'https://restcountries.eu/data/blz.svg',
+ currency: 'Belize dollar'
+ },
+ {
+ name: 'Benin',
+ capital: 'Porto-Novo',
+ languages: ['French'],
+ population: 10653654,
+ flag: 'https://restcountries.eu/data/ben.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Bermuda',
+ capital: 'Hamilton',
+ languages: ['English'],
+ population: 61954,
+ flag: 'https://restcountries.eu/data/bmu.svg',
+ currency: 'Bermudian dollar'
+ },
+ {
+ name: 'Bhutan',
+ capital: 'Thimphu',
+ languages: ['Dzongkha'],
+ population: 775620,
+ flag: 'https://restcountries.eu/data/btn.svg',
+ currency: 'Bhutanese ngultrum'
+ },
+ {
+ name: 'Bolivia (Plurinational State of)',
+ capital: 'Sucre',
+ languages: ['Spanish', 'Aymara', 'Quechua'],
+ population: 10985059,
+ flag: 'https://restcountries.eu/data/bol.svg',
+ currency: 'Bolivian boliviano'
+ },
+ {
+ name: 'Bonaire, Sint Eustatius and Saba',
+ capital: 'Kralendijk',
+ languages: ['Dutch'],
+ population: 17408,
+ flag: 'https://restcountries.eu/data/bes.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Bosnia and Herzegovina',
+ capital: 'Sarajevo',
+ languages: ['Bosnian', 'Croatian', 'Serbian'],
+ population: 3531159,
+ flag: 'https://restcountries.eu/data/bih.svg',
+ currency: 'Bosnia and Herzegovina convertible mark'
+ },
+ {
+ name: 'Botswana',
+ capital: 'Gaborone',
+ languages: ['English', 'Tswana'],
+ population: 2141206,
+ flag: 'https://restcountries.eu/data/bwa.svg',
+ currency: 'Botswana pula'
+ },
+ {
+ name: 'Bouvet Island',
+ capital: '',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/bvt.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Brazil',
+ capital: 'BrasĂlia',
+ languages: ['Portuguese'],
+ population: 206135893,
+ flag: 'https://restcountries.eu/data/bra.svg',
+ currency: 'Brazilian real'
+ },
+ {
+ name: 'British Indian Ocean Territory',
+ capital: 'Diego Garcia',
+ languages: ['English'],
+ population: 3000,
+ flag: 'https://restcountries.eu/data/iot.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'United States Minor Outlying Islands',
+ capital: '',
+ languages: ['English'],
+ population: 300,
+ flag: 'https://restcountries.eu/data/umi.svg',
+ currency: 'United States Dollar'
+ },
+ {
+ name: 'Virgin Islands (British)',
+ capital: 'Road Town',
+ languages: ['English'],
+ population: 28514,
+ flag: 'https://restcountries.eu/data/vgb.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Virgin Islands (U.S.)',
+ capital: 'Charlotte Amalie',
+ languages: ['English'],
+ population: 114743,
+ flag: 'https://restcountries.eu/data/vir.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Brunei Darussalam',
+ capital: 'Bandar Seri Begawan',
+ languages: ['Malay'],
+ population: 411900,
+ flag: 'https://restcountries.eu/data/brn.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Bulgaria',
+ capital: 'Sofia',
+ languages: ['Bulgarian'],
+ population: 7153784,
+ flag: 'https://restcountries.eu/data/bgr.svg',
+ currency: 'Bulgarian lev'
+ },
+ {
+ name: 'Burkina Faso',
+ capital: 'Ouagadougou',
+ languages: ['French', 'Fula'],
+ population: 19034397,
+ flag: 'https://restcountries.eu/data/bfa.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Burundi',
+ capital: 'Bujumbura',
+ languages: ['French', 'Kirundi'],
+ population: 10114505,
+ flag: 'https://restcountries.eu/data/bdi.svg',
+ currency: 'Burundian franc'
+ },
+ {
+ name: 'Cambodia',
+ capital: 'Phnom Penh',
+ languages: ['Khmer'],
+ population: 15626444,
+ flag: 'https://restcountries.eu/data/khm.svg',
+ currency: 'Cambodian riel'
+ },
+ {
+ name: 'Cameroon',
+ capital: 'Yaoundé',
+ languages: ['English', 'French'],
+ population: 22709892,
+ flag: 'https://restcountries.eu/data/cmr.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Canada',
+ capital: 'Ottawa',
+ languages: ['English', 'French'],
+ population: 36155487,
+ flag: 'https://restcountries.eu/data/can.svg',
+ currency: 'Canadian dollar'
+ },
+ {
+ name: 'Cabo Verde',
+ capital: 'Praia',
+ languages: ['Portuguese'],
+ population: 531239,
+ flag: 'https://restcountries.eu/data/cpv.svg',
+ currency: 'Cape Verdean escudo'
+ },
+ {
+ name: 'Cayman Islands',
+ capital: 'George Town',
+ languages: ['English'],
+ population: 58238,
+ flag: 'https://restcountries.eu/data/cym.svg',
+ currency: 'Cayman Islands dollar'
+ },
+ {
+ name: 'Central African Republic',
+ capital: 'Bangui',
+ languages: ['French', 'Sango'],
+ population: 4998000,
+ flag: 'https://restcountries.eu/data/caf.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chad',
+ capital: "N'Djamena",
+ languages: ['French', 'Arabic'],
+ population: 14497000,
+ flag: 'https://restcountries.eu/data/tcd.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chile',
+ capital: 'Santiago',
+ languages: ['Spanish'],
+ population: 18191900,
+ flag: 'https://restcountries.eu/data/chl.svg',
+ currency: 'Chilean peso'
+ },
+ {
+ name: 'China',
+ capital: 'Beijing',
+ languages: ['Chinese'],
+ population: 1377422166,
+ flag: 'https://restcountries.eu/data/chn.svg',
+ currency: 'Chinese yuan'
+ },
+ {
+ name: 'Christmas Island',
+ capital: 'Flying Fish Cove',
+ languages: ['English'],
+ population: 2072,
+ flag: 'https://restcountries.eu/data/cxr.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Cocos (Keeling) Islands',
+ capital: 'West Island',
+ languages: ['English'],
+ population: 550,
+ flag: 'https://restcountries.eu/data/cck.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Colombia',
+ capital: 'BogotĂĄ',
+ languages: ['Spanish'],
+ population: 48759958,
+ flag: 'https://restcountries.eu/data/col.svg',
+ currency: 'Colombian peso'
+ },
+ {
+ name: 'Comoros',
+ capital: 'Moroni',
+ languages: ['Arabic', 'French'],
+ population: 806153,
+ flag: 'https://restcountries.eu/data/com.svg',
+ currency: 'Comorian franc'
+ },
+ {
+ name: 'Congo',
+ capital: 'Brazzaville',
+ languages: ['French', 'Lingala'],
+ population: 4741000,
+ flag: 'https://restcountries.eu/data/cog.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Congo (Democratic Republic of the)',
+ capital: 'Kinshasa',
+ languages: ['French', 'Lingala', 'Kongo', 'Swahili', 'Luba-Katanga'],
+ population: 85026000,
+ flag: 'https://restcountries.eu/data/cod.svg',
+ currency: 'Congolese franc'
+ },
+ {
+ name: 'Cook Islands',
+ capital: 'Avarua',
+ languages: ['English'],
+ population: 18100,
+ flag: 'https://restcountries.eu/data/cok.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Costa Rica',
+ capital: 'San José',
+ languages: ['Spanish'],
+ population: 4890379,
+ flag: 'https://restcountries.eu/data/cri.svg',
+ currency: 'Costa Rican colĂłn'
+ },
+ {
+ name: 'Croatia',
+ capital: 'Zagreb',
+ languages: ['Croatian'],
+ population: 4190669,
+ flag: 'https://restcountries.eu/data/hrv.svg',
+ currency: 'Croatian kuna'
+ },
+ {
+ name: 'Cuba',
+ capital: 'Havana',
+ languages: ['Spanish'],
+ population: 11239004,
+ flag: 'https://restcountries.eu/data/cub.svg',
+ currency: 'Cuban convertible peso'
+ },
+ {
+ name: 'Curaçao',
+ capital: 'Willemstad',
+ languages: ['Dutch', '(Eastern) Punjabi', 'English'],
+ population: 154843,
+ flag: 'https://restcountries.eu/data/cuw.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Cyprus',
+ capital: 'Nicosia',
+ languages: ['Greek (modern)', 'Turkish', 'Armenian'],
+ population: 847000,
+ flag: 'https://restcountries.eu/data/cyp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Czech Republic',
+ capital: 'Prague',
+ languages: ['Czech', 'Slovak'],
+ population: 10558524,
+ flag: 'https://restcountries.eu/data/cze.svg',
+ currency: 'Czech koruna'
+ },
+ {
+ name: 'Denmark',
+ capital: 'Copenhagen',
+ languages: ['Danish'],
+ population: 5717014,
+ flag: 'https://restcountries.eu/data/dnk.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Djibouti',
+ capital: 'Djibouti',
+ languages: ['French', 'Arabic'],
+ population: 900000,
+ flag: 'https://restcountries.eu/data/dji.svg',
+ currency: 'Djiboutian franc'
+ },
+ {
+ name: 'Dominica',
+ capital: 'Roseau',
+ languages: ['English'],
+ population: 71293,
+ flag: 'https://restcountries.eu/data/dma.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Dominican Republic',
+ capital: 'Santo Domingo',
+ languages: ['Spanish'],
+ population: 10075045,
+ flag: 'https://restcountries.eu/data/dom.svg',
+ currency: 'Dominican peso'
+ },
+ {
+ name: 'Ecuador',
+ capital: 'Quito',
+ languages: ['Spanish'],
+ population: 16545799,
+ flag: 'https://restcountries.eu/data/ecu.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Egypt',
+ capital: 'Cairo',
+ languages: ['Arabic'],
+ population: 91290000,
+ flag: 'https://restcountries.eu/data/egy.svg',
+ currency: 'Egyptian pound'
+ },
+ {
+ name: 'El Salvador',
+ capital: 'San Salvador',
+ languages: ['Spanish'],
+ population: 6520675,
+ flag: 'https://restcountries.eu/data/slv.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Equatorial Guinea',
+ capital: 'Malabo',
+ languages: ['Spanish', 'French'],
+ population: 1222442,
+ flag: 'https://restcountries.eu/data/gnq.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Eritrea',
+ capital: 'Asmara',
+ languages: ['Tigrinya', 'Arabic', 'English'],
+ population: 5352000,
+ flag: 'https://restcountries.eu/data/eri.svg',
+ currency: 'Eritrean nakfa'
+ },
+ {
+ name: 'Estonia',
+ capital: 'Tallinn',
+ languages: ['Estonian'],
+ population: 1315944,
+ flag: 'https://restcountries.eu/data/est.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ethiopia',
+ capital: 'Addis Ababa',
+ languages: ['Amharic'],
+ population: 92206005,
+ flag: 'https://restcountries.eu/data/eth.svg',
+ currency: 'Ethiopian birr'
+ },
+ {
+ name: 'Falkland Islands (Malvinas)',
+ capital: 'Stanley',
+ languages: ['English'],
+ population: 2563,
+ flag: 'https://restcountries.eu/data/flk.svg',
+ currency: 'Falkland Islands pound'
+ },
+ {
+ name: 'Faroe Islands',
+ capital: 'TĂłrshavn',
+ languages: ['Faroese'],
+ population: 49376,
+ flag: 'https://restcountries.eu/data/fro.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Fiji',
+ capital: 'Suva',
+ languages: ['English', 'Fijian', 'Hindi', 'Urdu'],
+ population: 867000,
+ flag: 'https://restcountries.eu/data/fji.svg',
+ currency: 'Fijian dollar'
+ },
+ {
+ name: 'Finland',
+ capital: 'Helsinki',
+ languages: ['Finnish', 'Swedish'],
+ population: 5491817,
+ flag: 'https://restcountries.eu/data/fin.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'France',
+ capital: 'Paris',
+ languages: ['French'],
+ population: 66710000,
+ flag: 'https://restcountries.eu/data/fra.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Guiana',
+ capital: 'Cayenne',
+ languages: ['French'],
+ population: 254541,
+ flag: 'https://restcountries.eu/data/guf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Polynesia',
+ capital: 'PapeetÄ',
+ languages: ['French'],
+ population: 271800,
+ flag: 'https://restcountries.eu/data/pyf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'French Southern Territories',
+ capital: 'Port-aux-Français',
+ languages: ['French'],
+ population: 140,
+ flag: 'https://restcountries.eu/data/atf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Gabon',
+ capital: 'Libreville',
+ languages: ['French'],
+ population: 1802278,
+ flag: 'https://restcountries.eu/data/gab.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Gambia',
+ capital: 'Banjul',
+ languages: ['English'],
+ population: 1882450,
+ flag: 'https://restcountries.eu/data/gmb.svg',
+ currency: 'Gambian dalasi'
+ },
+ {
+ name: 'Georgia',
+ capital: 'Tbilisi',
+ languages: ['Georgian'],
+ population: 3720400,
+ flag: 'https://restcountries.eu/data/geo.svg',
+ currency: 'Georgian Lari'
+ },
+ {
+ name: 'Germany',
+ capital: 'Berlin',
+ languages: ['German'],
+ population: 81770900,
+ flag: 'https://restcountries.eu/data/deu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ghana',
+ capital: 'Accra',
+ languages: ['English'],
+ population: 27670174,
+ flag: 'https://restcountries.eu/data/gha.svg',
+ currency: 'Ghanaian cedi'
+ },
+ {
+ name: 'Gibraltar',
+ capital: 'Gibraltar',
+ languages: ['English'],
+ population: 33140,
+ flag: 'https://restcountries.eu/data/gib.svg',
+ currency: 'Gibraltar pound'
+ },
+ {
+ name: 'Greece',
+ capital: 'Athens',
+ languages: ['Greek (modern)'],
+ population: 10858018,
+ flag: 'https://restcountries.eu/data/grc.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Greenland',
+ capital: 'Nuuk',
+ languages: ['Kalaallisut'],
+ population: 55847,
+ flag: 'https://restcountries.eu/data/grl.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Grenada',
+ capital: "St. George's",
+ languages: ['English'],
+ population: 103328,
+ flag: 'https://restcountries.eu/data/grd.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Guadeloupe',
+ capital: 'Basse-Terre',
+ languages: ['French'],
+ population: 400132,
+ flag: 'https://restcountries.eu/data/glp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Guam',
+ capital: 'HagÄtña',
+ languages: ['English', 'Chamorro', 'Spanish'],
+ population: 184200,
+ flag: 'https://restcountries.eu/data/gum.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Guatemala',
+ capital: 'Guatemala City',
+ languages: ['Spanish'],
+ population: 16176133,
+ flag: 'https://restcountries.eu/data/gtm.svg',
+ currency: 'Guatemalan quetzal'
+ },
+ {
+ name: 'Guernsey',
+ capital: 'St. Peter Port',
+ languages: ['English', 'French'],
+ population: 62999,
+ flag: 'https://restcountries.eu/data/ggy.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Guinea',
+ capital: 'Conakry',
+ languages: ['French', 'Fula'],
+ population: 12947000,
+ flag: 'https://restcountries.eu/data/gin.svg',
+ currency: 'Guinean franc'
+ },
+ {
+ name: 'Guinea-Bissau',
+ capital: 'Bissau',
+ languages: ['Portuguese'],
+ population: 1547777,
+ flag: 'https://restcountries.eu/data/gnb.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Guyana',
+ capital: 'Georgetown',
+ languages: ['English'],
+ population: 746900,
+ flag: 'https://restcountries.eu/data/guy.svg',
+ currency: 'Guyanese dollar'
+ },
+ {
+ name: 'Haiti',
+ capital: 'Port-au-Prince',
+ languages: ['French', 'Haitian'],
+ population: 11078033,
+ flag: 'https://restcountries.eu/data/hti.svg',
+ currency: 'Haitian gourde'
+ },
+ {
+ name: 'Heard Island and McDonald Islands',
+ capital: '',
+ languages: ['English'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/hmd.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Holy See',
+ capital: 'Rome',
+ languages: ['Latin', 'Italian', 'French', 'German'],
+ population: 451,
+ flag: 'https://restcountries.eu/data/vat.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Honduras',
+ capital: 'Tegucigalpa',
+ languages: ['Spanish'],
+ population: 8576532,
+ flag: 'https://restcountries.eu/data/hnd.svg',
+ currency: 'Honduran lempira'
+ },
+ {
+ name: 'Hong Kong',
+ capital: 'City of Victoria',
+ languages: ['English', 'Chinese'],
+ population: 7324300,
+ flag: 'https://restcountries.eu/data/hkg.svg',
+ currency: 'Hong Kong dollar'
+ },
+ {
+ name: 'Hungary',
+ capital: 'Budapest',
+ languages: ['Hungarian'],
+ population: 9823000,
+ flag: 'https://restcountries.eu/data/hun.svg',
+ currency: 'Hungarian forint'
+ },
+ {
+ name: 'Iceland',
+ capital: 'ReykjavĂk',
+ languages: ['Icelandic'],
+ population: 334300,
+ flag: 'https://restcountries.eu/data/isl.svg',
+ currency: 'Icelandic krĂłna'
+ },
+ {
+ name: 'India',
+ capital: 'New Delhi',
+ languages: ['Hindi', 'English'],
+ population: 1295210000,
+ flag: 'https://restcountries.eu/data/ind.svg',
+ currency: 'Indian rupee'
+ },
+ {
+ name: 'Indonesia',
+ capital: 'Jakarta',
+ languages: ['Indonesian'],
+ population: 258705000,
+ flag: 'https://restcountries.eu/data/idn.svg',
+ currency: 'Indonesian rupiah'
+ },
+ {
+ name: "CĂŽte d'Ivoire",
+ capital: 'Yamoussoukro',
+ languages: ['French'],
+ population: 22671331,
+ flag: 'https://restcountries.eu/data/civ.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Iran (Islamic Republic of)',
+ capital: 'Tehran',
+ languages: ['Persian (Farsi)'],
+ population: 79369900,
+ flag: 'https://restcountries.eu/data/irn.svg',
+ currency: 'Iranian rial'
+ },
+ {
+ name: 'Iraq',
+ capital: 'Baghdad',
+ languages: ['Arabic', 'Kurdish'],
+ population: 37883543,
+ flag: 'https://restcountries.eu/data/irq.svg',
+ currency: 'Iraqi dinar'
+ },
+ {
+ name: 'Ireland',
+ capital: 'Dublin',
+ languages: ['Irish', 'English'],
+ population: 6378000,
+ flag: 'https://restcountries.eu/data/irl.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Isle of Man',
+ capital: 'Douglas',
+ languages: ['English', 'Manx'],
+ population: 84497,
+ flag: 'https://restcountries.eu/data/imn.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Israel',
+ capital: 'Jerusalem',
+ languages: ['Hebrew (modern)', 'Arabic'],
+ population: 8527400,
+ flag: 'https://restcountries.eu/data/isr.svg',
+ currency: 'Israeli new shekel'
+ },
+ {
+ name: 'Italy',
+ capital: 'Rome',
+ languages: ['Italian'],
+ population: 60665551,
+ flag: 'https://restcountries.eu/data/ita.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Jamaica',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2723246,
+ flag: 'https://restcountries.eu/data/jam.svg',
+ currency: 'Jamaican dollar'
+ },
+ {
+ name: 'Japan',
+ capital: 'Tokyo',
+ languages: ['Japanese'],
+ population: 126960000,
+ flag: 'https://restcountries.eu/data/jpn.svg',
+ currency: 'Japanese yen'
+ },
+ {
+ name: 'Jersey',
+ capital: 'Saint Helier',
+ languages: ['English', 'French'],
+ population: 100800,
+ flag: 'https://restcountries.eu/data/jey.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Jordan',
+ capital: 'Amman',
+ languages: ['Arabic'],
+ population: 9531712,
+ flag: 'https://restcountries.eu/data/jor.svg',
+ currency: 'Jordanian dinar'
+ },
+ {
+ name: 'Kazakhstan',
+ capital: 'Astana',
+ languages: ['Kazakh', 'Russian'],
+ population: 17753200,
+ flag: 'https://restcountries.eu/data/kaz.svg',
+ currency: 'Kazakhstani tenge'
+ },
+ {
+ name: 'Kenya',
+ capital: 'Nairobi',
+ languages: ['English', 'Swahili'],
+ population: 47251000,
+ flag: 'https://restcountries.eu/data/ken.svg',
+ currency: 'Kenyan shilling'
+ },
+ {
+ name: 'Kiribati',
+ capital: 'South Tarawa',
+ languages: ['English'],
+ population: 113400,
+ flag: 'https://restcountries.eu/data/kir.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Kuwait',
+ capital: 'Kuwait City',
+ languages: ['Arabic'],
+ population: 4183658,
+ flag: 'https://restcountries.eu/data/kwt.svg',
+ currency: 'Kuwaiti dinar'
+ },
+ {
+ name: 'Kyrgyzstan',
+ capital: 'Bishkek',
+ languages: ['Kyrgyz', 'Russian'],
+ population: 6047800,
+ flag: 'https://restcountries.eu/data/kgz.svg',
+ currency: 'Kyrgyzstani som'
+ },
+ {
+ name: "Lao People's Democratic Republic",
+ capital: 'Vientiane',
+ languages: ['Lao'],
+ population: 6492400,
+ flag: 'https://restcountries.eu/data/lao.svg',
+ currency: 'Lao kip'
+ },
+ {
+ name: 'Latvia',
+ capital: 'Riga',
+ languages: ['Latvian'],
+ population: 1961600,
+ flag: 'https://restcountries.eu/data/lva.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Lebanon',
+ capital: 'Beirut',
+ languages: ['Arabic', 'French'],
+ population: 5988000,
+ flag: 'https://restcountries.eu/data/lbn.svg',
+ currency: 'Lebanese pound'
+ },
+ {
+ name: 'Lesotho',
+ capital: 'Maseru',
+ languages: ['English', 'Southern Sotho'],
+ population: 1894194,
+ flag: 'https://restcountries.eu/data/lso.svg',
+ currency: 'Lesotho loti'
+ },
+ {
+ name: 'Liberia',
+ capital: 'Monrovia',
+ languages: ['English'],
+ population: 4615000,
+ flag: 'https://restcountries.eu/data/lbr.svg',
+ currency: 'Liberian dollar'
+ },
+ {
+ name: 'Libya',
+ capital: 'Tripoli',
+ languages: ['Arabic'],
+ population: 6385000,
+ flag: 'https://restcountries.eu/data/lby.svg',
+ currency: 'Libyan dinar'
+ },
+ {
+ name: 'Liechtenstein',
+ capital: 'Vaduz',
+ languages: ['German'],
+ population: 37623,
+ flag: 'https://restcountries.eu/data/lie.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Lithuania',
+ capital: 'Vilnius',
+ languages: ['Lithuanian'],
+ population: 2872294,
+ flag: 'https://restcountries.eu/data/ltu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Luxembourg',
+ capital: 'Luxembourg',
+ languages: ['French', 'German', 'Luxembourgish'],
+ population: 576200,
+ flag: 'https://restcountries.eu/data/lux.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Macao',
+ capital: '',
+ languages: ['Chinese', 'Portuguese'],
+ population: 649100,
+ flag: 'https://restcountries.eu/data/mac.svg',
+ currency: 'Macanese pataca'
+ },
+ {
+ name: 'Macedonia (the former Yugoslav Republic of)',
+ capital: 'Skopje',
+ languages: ['Macedonian'],
+ population: 2058539,
+ flag: 'https://restcountries.eu/data/mkd.svg',
+ currency: 'Macedonian denar'
+ },
+ {
+ name: 'Madagascar',
+ capital: 'Antananarivo',
+ languages: ['French', 'Malagasy'],
+ population: 22434363,
+ flag: 'https://restcountries.eu/data/mdg.svg',
+ currency: 'Malagasy ariary'
+ },
+ {
+ name: 'Malawi',
+ capital: 'Lilongwe',
+ languages: ['English', 'Chichewa'],
+ population: 16832910,
+ flag: 'https://restcountries.eu/data/mwi.svg',
+ currency: 'Malawian kwacha'
+ },
+ {
+ name: 'Malaysia',
+ capital: 'Kuala Lumpur',
+ languages: ['Malaysian'],
+ population: 31405416,
+ flag: 'https://restcountries.eu/data/mys.svg',
+ currency: 'Malaysian ringgit'
+ },
+ {
+ name: 'Maldives',
+ capital: 'Malé',
+ languages: ['Divehi'],
+ population: 344023,
+ flag: 'https://restcountries.eu/data/mdv.svg',
+ currency: 'Maldivian rufiyaa'
+ },
+ {
+ name: 'Mali',
+ capital: 'Bamako',
+ languages: ['French'],
+ population: 18135000,
+ flag: 'https://restcountries.eu/data/mli.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Malta',
+ capital: 'Valletta',
+ languages: ['Maltese', 'English'],
+ population: 425384,
+ flag: 'https://restcountries.eu/data/mlt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Marshall Islands',
+ capital: 'Majuro',
+ languages: ['English', 'Marshallese'],
+ population: 54880,
+ flag: 'https://restcountries.eu/data/mhl.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Martinique',
+ capital: 'Fort-de-France',
+ languages: ['French'],
+ population: 378243,
+ flag: 'https://restcountries.eu/data/mtq.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mauritania',
+ capital: 'Nouakchott',
+ languages: ['Arabic'],
+ population: 3718678,
+ flag: 'https://restcountries.eu/data/mrt.svg',
+ currency: 'Mauritanian ouguiya'
+ },
+ {
+ name: 'Mauritius',
+ capital: 'Port Louis',
+ languages: ['English'],
+ population: 1262879,
+ flag: 'https://restcountries.eu/data/mus.svg',
+ currency: 'Mauritian rupee'
+ },
+ {
+ name: 'Mayotte',
+ capital: 'Mamoudzou',
+ languages: ['French'],
+ population: 226915,
+ flag: 'https://restcountries.eu/data/myt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mexico',
+ capital: 'Mexico City',
+ languages: ['Spanish'],
+ population: 122273473,
+ flag: 'https://restcountries.eu/data/mex.svg',
+ currency: 'Mexican peso'
+ },
+ {
+ name: 'Micronesia (Federated States of)',
+ capital: 'Palikir',
+ languages: ['English'],
+ population: 102800,
+ flag: 'https://restcountries.eu/data/fsm.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Moldova (Republic of)',
+ capital: 'ChiÈinÄu',
+ languages: ['Romanian'],
+ population: 3553100,
+ flag: 'https://restcountries.eu/data/mda.svg',
+ currency: 'Moldovan leu'
+ },
+ {
+ name: 'Monaco',
+ capital: 'Monaco',
+ languages: ['French'],
+ population: 38400,
+ flag: 'https://restcountries.eu/data/mco.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mongolia',
+ capital: 'Ulan Bator',
+ languages: ['Mongolian'],
+ population: 3093100,
+ flag: 'https://restcountries.eu/data/mng.svg',
+ currency: 'Mongolian tögrög'
+ },
+ {
+ name: 'Montenegro',
+ capital: 'Podgorica',
+ languages: ['Serbian', 'Bosnian', 'Albanian', 'Croatian'],
+ population: 621810,
+ flag: 'https://restcountries.eu/data/mne.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Montserrat',
+ capital: 'Plymouth',
+ languages: ['English'],
+ population: 4922,
+ flag: 'https://restcountries.eu/data/msr.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Morocco',
+ capital: 'Rabat',
+ languages: ['Arabic'],
+ population: 33337529,
+ flag: 'https://restcountries.eu/data/mar.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Mozambique',
+ capital: 'Maputo',
+ languages: ['Portuguese'],
+ population: 26423700,
+ flag: 'https://restcountries.eu/data/moz.svg',
+ currency: 'Mozambican metical'
+ },
+ {
+ name: 'Myanmar',
+ capital: 'Naypyidaw',
+ languages: ['Burmese'],
+ population: 51419420,
+ flag: 'https://restcountries.eu/data/mmr.svg',
+ currency: 'Burmese kyat'
+ },
+ {
+ name: 'Namibia',
+ capital: 'Windhoek',
+ languages: ['English', 'Afrikaans'],
+ population: 2324388,
+ flag: 'https://restcountries.eu/data/nam.svg',
+ currency: 'Namibian dollar'
+ },
+ {
+ name: 'Nauru',
+ capital: 'Yaren',
+ languages: ['English', 'Nauruan'],
+ population: 10084,
+ flag: 'https://restcountries.eu/data/nru.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Nepal',
+ capital: 'Kathmandu',
+ languages: ['Nepali'],
+ population: 28431500,
+ flag: 'https://restcountries.eu/data/npl.svg',
+ currency: 'Nepalese rupee'
+ },
+ {
+ name: 'Netherlands',
+ capital: 'Amsterdam',
+ languages: ['Dutch'],
+ population: 17019800,
+ flag: 'https://restcountries.eu/data/nld.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'New Caledonia',
+ capital: 'Nouméa',
+ languages: ['French'],
+ population: 268767,
+ flag: 'https://restcountries.eu/data/ncl.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'New Zealand',
+ capital: 'Wellington',
+ languages: ['English', 'MÄori'],
+ population: 4697854,
+ flag: 'https://restcountries.eu/data/nzl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Nicaragua',
+ capital: 'Managua',
+ languages: ['Spanish'],
+ population: 6262703,
+ flag: 'https://restcountries.eu/data/nic.svg',
+ currency: 'Nicaraguan cĂłrdoba'
+ },
+ {
+ name: 'Niger',
+ capital: 'Niamey',
+ languages: ['French'],
+ population: 20715000,
+ flag: 'https://restcountries.eu/data/ner.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Nigeria',
+ capital: 'Abuja',
+ languages: ['English'],
+ population: 186988000,
+ flag: 'https://restcountries.eu/data/nga.svg',
+ currency: 'Nigerian naira'
+ },
+ {
+ name: 'Niue',
+ capital: 'Alofi',
+ languages: ['English'],
+ population: 1470,
+ flag: 'https://restcountries.eu/data/niu.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Norfolk Island',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2302,
+ flag: 'https://restcountries.eu/data/nfk.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: "Korea (Democratic People's Republic of)",
+ capital: 'Pyongyang',
+ languages: ['Korean'],
+ population: 25281000,
+ flag: 'https://restcountries.eu/data/prk.svg',
+ currency: 'North Korean won'
+ },
+ {
+ name: 'Northern Mariana Islands',
+ capital: 'Saipan',
+ languages: ['English', 'Chamorro'],
+ population: 56940,
+ flag: 'https://restcountries.eu/data/mnp.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Norway',
+ capital: 'Oslo',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 5223256,
+ flag: 'https://restcountries.eu/data/nor.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Oman',
+ capital: 'Muscat',
+ languages: ['Arabic'],
+ population: 4420133,
+ flag: 'https://restcountries.eu/data/omn.svg',
+ currency: 'Omani rial'
+ },
+ {
+ name: 'Pakistan',
+ capital: 'Islamabad',
+ languages: ['English', 'Urdu'],
+ population: 194125062,
+ flag: 'https://restcountries.eu/data/pak.svg',
+ currency: 'Pakistani rupee'
+ },
+ {
+ name: 'Palau',
+ capital: 'Ngerulmud',
+ languages: ['English'],
+ population: 17950,
+ flag: 'https://restcountries.eu/data/plw.svg',
+ currency: '[E]'
+ },
+ {
+ name: 'Palestine, State of',
+ capital: 'Ramallah',
+ languages: ['Arabic'],
+ population: 4682467,
+ flag: 'https://restcountries.eu/data/pse.svg',
+ currency: 'Israeli new sheqel'
+ },
+ {
+ name: 'Panama',
+ capital: 'Panama City',
+ languages: ['Spanish'],
+ population: 3814672,
+ flag: 'https://restcountries.eu/data/pan.svg',
+ currency: 'Panamanian balboa'
+ },
+ {
+ name: 'Papua New Guinea',
+ capital: 'Port Moresby',
+ languages: ['English'],
+ population: 8083700,
+ flag: 'https://restcountries.eu/data/png.svg',
+ currency: 'Papua New Guinean kina'
+ },
+ {
+ name: 'Paraguay',
+ capital: 'AsunciĂłn',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 6854536,
+ flag: 'https://restcountries.eu/data/pry.svg',
+ currency: 'Paraguayan guaranĂ'
+ },
+ {
+ name: 'Peru',
+ capital: 'Lima',
+ languages: ['Spanish'],
+ population: 31488700,
+ flag: 'https://restcountries.eu/data/per.svg',
+ currency: 'Peruvian sol'
+ },
+ {
+ name: 'Philippines',
+ capital: 'Manila',
+ languages: ['English'],
+ population: 103279800,
+ flag: 'https://restcountries.eu/data/phl.svg',
+ currency: 'Philippine peso'
+ },
+ {
+ name: 'Pitcairn',
+ capital: 'Adamstown',
+ languages: ['English'],
+ population: 56,
+ flag: 'https://restcountries.eu/data/pcn.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Poland',
+ capital: 'Warsaw',
+ languages: ['Polish'],
+ population: 38437239,
+ flag: 'https://restcountries.eu/data/pol.svg',
+ currency: 'Polish zĆoty'
+ },
+ {
+ name: 'Portugal',
+ capital: 'Lisbon',
+ languages: ['Portuguese'],
+ population: 10374822,
+ flag: 'https://restcountries.eu/data/prt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Puerto Rico',
+ capital: 'San Juan',
+ languages: ['Spanish', 'English'],
+ population: 3474182,
+ flag: 'https://restcountries.eu/data/pri.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Qatar',
+ capital: 'Doha',
+ languages: ['Arabic'],
+ population: 2587564,
+ flag: 'https://restcountries.eu/data/qat.svg',
+ currency: 'Qatari riyal'
+ },
+ {
+ name: 'Republic of Kosovo',
+ capital: 'Pristina',
+ languages: ['Albanian', 'Serbian'],
+ population: 1733842,
+ flag: 'https://restcountries.eu/data/kos.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Réunion',
+ capital: 'Saint-Denis',
+ languages: ['French'],
+ population: 840974,
+ flag: 'https://restcountries.eu/data/reu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Romania',
+ capital: 'Bucharest',
+ languages: ['Romanian'],
+ population: 19861408,
+ flag: 'https://restcountries.eu/data/rou.svg',
+ currency: 'Romanian leu'
+ },
+ {
+ name: 'Russian Federation',
+ capital: 'Moscow',
+ languages: ['Russian'],
+ population: 146599183,
+ flag: 'https://restcountries.eu/data/rus.svg',
+ currency: 'Russian ruble'
+ },
+ {
+ name: 'Rwanda',
+ capital: 'Kigali',
+ languages: ['Kinyarwanda', 'English', 'French'],
+ population: 11553188,
+ flag: 'https://restcountries.eu/data/rwa.svg',
+ currency: 'Rwandan franc'
+ },
+ {
+ name: 'Saint Barthélemy',
+ capital: 'Gustavia',
+ languages: ['French'],
+ population: 9417,
+ flag: 'https://restcountries.eu/data/blm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Helena, Ascension and Tristan da Cunha',
+ capital: 'Jamestown',
+ languages: ['English'],
+ population: 4255,
+ flag: 'https://restcountries.eu/data/shn.svg',
+ currency: 'Saint Helena pound'
+ },
+ {
+ name: 'Saint Kitts and Nevis',
+ capital: 'Basseterre',
+ languages: ['English'],
+ population: 46204,
+ flag: 'https://restcountries.eu/data/kna.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Lucia',
+ capital: 'Castries',
+ languages: ['English'],
+ population: 186000,
+ flag: 'https://restcountries.eu/data/lca.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Martin (French part)',
+ capital: 'Marigot',
+ languages: ['English', 'French', 'Dutch'],
+ population: 36979,
+ flag: 'https://restcountries.eu/data/maf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Pierre and Miquelon',
+ capital: 'Saint-Pierre',
+ languages: ['French'],
+ population: 6069,
+ flag: 'https://restcountries.eu/data/spm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Vincent and the Grenadines',
+ capital: 'Kingstown',
+ languages: ['English'],
+ population: 109991,
+ flag: 'https://restcountries.eu/data/vct.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Samoa',
+ capital: 'Apia',
+ languages: ['Samoan', 'English'],
+ population: 194899,
+ flag: 'https://restcountries.eu/data/wsm.svg',
+ currency: 'Samoan tÄlÄ'
+ },
+ {
+ name: 'San Marino',
+ capital: 'City of San Marino',
+ languages: ['Italian'],
+ population: 33005,
+ flag: 'https://restcountries.eu/data/smr.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sao Tome and Principe',
+ capital: 'São Tomé',
+ languages: ['Portuguese'],
+ population: 187356,
+ flag: 'https://restcountries.eu/data/stp.svg',
+ currency: 'SĂŁo TomĂ© and PrĂncipe dobra'
+ },
+ {
+ name: 'Saudi Arabia',
+ capital: 'Riyadh',
+ languages: ['Arabic'],
+ population: 32248200,
+ flag: 'https://restcountries.eu/data/sau.svg',
+ currency: 'Saudi riyal'
+ },
+ {
+ name: 'Senegal',
+ capital: 'Dakar',
+ languages: ['French'],
+ population: 14799859,
+ flag: 'https://restcountries.eu/data/sen.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Serbia',
+ capital: 'Belgrade',
+ languages: ['Serbian'],
+ population: 7076372,
+ flag: 'https://restcountries.eu/data/srb.svg',
+ currency: 'Serbian dinar'
+ },
+ {
+ name: 'Seychelles',
+ capital: 'Victoria',
+ languages: ['French', 'English'],
+ population: 91400,
+ flag: 'https://restcountries.eu/data/syc.svg',
+ currency: 'Seychellois rupee'
+ },
+ {
+ name: 'Sierra Leone',
+ capital: 'Freetown',
+ languages: ['English'],
+ population: 7075641,
+ flag: 'https://restcountries.eu/data/sle.svg',
+ currency: 'Sierra Leonean leone'
+ },
+ {
+ name: 'Singapore',
+ capital: 'Singapore',
+ languages: ['English', 'Malay', 'Tamil', 'Chinese'],
+ population: 5535000,
+ flag: 'https://restcountries.eu/data/sgp.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Sint Maarten (Dutch part)',
+ capital: 'Philipsburg',
+ languages: ['Dutch', 'English'],
+ population: 38247,
+ flag: 'https://restcountries.eu/data/sxm.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Slovakia',
+ capital: 'Bratislava',
+ languages: ['Slovak'],
+ population: 5426252,
+ flag: 'https://restcountries.eu/data/svk.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Slovenia',
+ capital: 'Ljubljana',
+ languages: ['Slovene'],
+ population: 2064188,
+ flag: 'https://restcountries.eu/data/svn.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Solomon Islands',
+ capital: 'Honiara',
+ languages: ['English'],
+ population: 642000,
+ flag: 'https://restcountries.eu/data/slb.svg',
+ currency: 'Solomon Islands dollar'
+ },
+ {
+ name: 'Somalia',
+ capital: 'Mogadishu',
+ languages: ['Somali', 'Arabic'],
+ population: 11079000,
+ flag: 'https://restcountries.eu/data/som.svg',
+ currency: 'Somali shilling'
+ },
+ {
+ name: 'South Africa',
+ capital: 'Pretoria',
+ languages: [
+ 'Afrikaans',
+ 'English',
+ 'Southern Ndebele',
+ 'Southern Sotho',
+ 'Swati',
+ 'Tswana',
+ 'Tsonga',
+ 'Venda',
+ 'Xhosa',
+ 'Zulu'
+ ],
+ population: 55653654,
+ flag: 'https://restcountries.eu/data/zaf.svg',
+ currency: 'South African rand'
+ },
+ {
+ name: 'South Georgia and the South Sandwich Islands',
+ capital: 'King Edward Point',
+ languages: ['English'],
+ population: 30,
+ flag: 'https://restcountries.eu/data/sgs.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Korea (Republic of)',
+ capital: 'Seoul',
+ languages: ['Korean'],
+ population: 50801405,
+ flag: 'https://restcountries.eu/data/kor.svg',
+ currency: 'South Korean won'
+ },
+ {
+ name: 'South Sudan',
+ capital: 'Juba',
+ languages: ['English'],
+ population: 12131000,
+ flag: 'https://restcountries.eu/data/ssd.svg',
+ currency: 'South Sudanese pound'
+ },
+ {
+ name: 'Spain',
+ capital: 'Madrid',
+ languages: ['Spanish'],
+ population: 46438422,
+ flag: 'https://restcountries.eu/data/esp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sri Lanka',
+ capital: 'Colombo',
+ languages: ['Sinhalese', 'Tamil'],
+ population: 20966000,
+ flag: 'https://restcountries.eu/data/lka.svg',
+ currency: 'Sri Lankan rupee'
+ },
+ {
+ name: 'Sudan',
+ capital: 'Khartoum',
+ languages: ['Arabic', 'English'],
+ population: 39598700,
+ flag: 'https://restcountries.eu/data/sdn.svg',
+ currency: 'Sudanese pound'
+ },
+ {
+ name: 'Suriname',
+ capital: 'Paramaribo',
+ languages: ['Dutch'],
+ population: 541638,
+ flag: 'https://restcountries.eu/data/sur.svg',
+ currency: 'Surinamese dollar'
+ },
+ {
+ name: 'Svalbard and Jan Mayen',
+ capital: 'Longyearbyen',
+ languages: ['Norwegian'],
+ population: 2562,
+ flag: 'https://restcountries.eu/data/sjm.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Swaziland',
+ capital: 'Lobamba',
+ languages: ['English', 'Swati'],
+ population: 1132657,
+ flag: 'https://restcountries.eu/data/swz.svg',
+ currency: 'Swazi lilangeni'
+ },
+ {
+ name: 'Sweden',
+ capital: 'Stockholm',
+ languages: ['Swedish'],
+ population: 9894888,
+ flag: 'https://restcountries.eu/data/swe.svg',
+ currency: 'Swedish krona'
+ },
+ {
+ name: 'Switzerland',
+ capital: 'Bern',
+ languages: ['German', 'French', 'Italian'],
+ population: 8341600,
+ flag: 'https://restcountries.eu/data/che.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Syrian Arab Republic',
+ capital: 'Damascus',
+ languages: ['Arabic'],
+ population: 18564000,
+ flag: 'https://restcountries.eu/data/syr.svg',
+ currency: 'Syrian pound'
+ },
+ {
+ name: 'Taiwan',
+ capital: 'Taipei',
+ languages: ['Chinese'],
+ population: 23503349,
+ flag: 'https://restcountries.eu/data/twn.svg',
+ currency: 'New Taiwan dollar'
+ },
+ {
+ name: 'Tajikistan',
+ capital: 'Dushanbe',
+ languages: ['Tajik', 'Russian'],
+ population: 8593600,
+ flag: 'https://restcountries.eu/data/tjk.svg',
+ currency: 'Tajikistani somoni'
+ },
+ {
+ name: 'Tanzania, United Republic of',
+ capital: 'Dodoma',
+ languages: ['Swahili', 'English'],
+ population: 55155000,
+ flag: 'https://restcountries.eu/data/tza.svg',
+ currency: 'Tanzanian shilling'
+ },
+ {
+ name: 'Thailand',
+ capital: 'Bangkok',
+ languages: ['Thai'],
+ population: 65327652,
+ flag: 'https://restcountries.eu/data/tha.svg',
+ currency: 'Thai baht'
+ },
+ {
+ name: 'Timor-Leste',
+ capital: 'Dili',
+ languages: ['Portuguese'],
+ population: 1167242,
+ flag: 'https://restcountries.eu/data/tls.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Togo',
+ capital: 'Lomé',
+ languages: ['French'],
+ population: 7143000,
+ flag: 'https://restcountries.eu/data/tgo.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Tokelau',
+ capital: 'Fakaofo',
+ languages: ['English'],
+ population: 1411,
+ flag: 'https://restcountries.eu/data/tkl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Tonga',
+ capital: "Nuku'alofa",
+ languages: ['English', 'Tonga (Tonga Islands)'],
+ population: 103252,
+ flag: 'https://restcountries.eu/data/ton.svg',
+ currency: 'Tongan paʻanga'
+ },
+ {
+ name: 'Trinidad and Tobago',
+ capital: 'Port of Spain',
+ languages: ['English'],
+ population: 1349667,
+ flag: 'https://restcountries.eu/data/tto.svg',
+ currency: 'Trinidad and Tobago dollar'
+ },
+ {
+ name: 'Tunisia',
+ capital: 'Tunis',
+ languages: ['Arabic'],
+ population: 11154400,
+ flag: 'https://restcountries.eu/data/tun.svg',
+ currency: 'Tunisian dinar'
+ },
+ {
+ name: 'Turkey',
+ capital: 'Ankara',
+ languages: ['Turkish'],
+ population: 78741053,
+ flag: 'https://restcountries.eu/data/tur.svg',
+ currency: 'Turkish lira'
+ },
+ {
+ name: 'Turkmenistan',
+ capital: 'Ashgabat',
+ languages: ['Turkmen', 'Russian'],
+ population: 4751120,
+ flag: 'https://restcountries.eu/data/tkm.svg',
+ currency: 'Turkmenistan manat'
+ },
+ {
+ name: 'Turks and Caicos Islands',
+ capital: 'Cockburn Town',
+ languages: ['English'],
+ population: 31458,
+ flag: 'https://restcountries.eu/data/tca.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Tuvalu',
+ capital: 'Funafuti',
+ languages: ['English'],
+ population: 10640,
+ flag: 'https://restcountries.eu/data/tuv.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Uganda',
+ capital: 'Kampala',
+ languages: ['English', 'Swahili'],
+ population: 33860700,
+ flag: 'https://restcountries.eu/data/uga.svg',
+ currency: 'Ugandan shilling'
+ },
+ {
+ name: 'Ukraine',
+ capital: 'Kiev',
+ languages: ['Ukrainian'],
+ population: 42692393,
+ flag: 'https://restcountries.eu/data/ukr.svg',
+ currency: 'Ukrainian hryvnia'
+ },
+ {
+ name: 'United Arab Emirates',
+ capital: 'Abu Dhabi',
+ languages: ['Arabic'],
+ population: 9856000,
+ flag: 'https://restcountries.eu/data/are.svg',
+ currency: 'United Arab Emirates dirham'
+ },
+ {
+ name: 'United Kingdom of Great Britain and Northern Ireland',
+ capital: 'London',
+ languages: ['English'],
+ population: 65110000,
+ flag: 'https://restcountries.eu/data/gbr.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'United States of America',
+ capital: 'Washington, D.C.',
+ languages: ['English'],
+ population: 323947000,
+ flag: 'https://restcountries.eu/data/usa.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Uruguay',
+ capital: 'Montevideo',
+ languages: ['Spanish'],
+ population: 3480222,
+ flag: 'https://restcountries.eu/data/ury.svg',
+ currency: 'Uruguayan peso'
+ },
+ {
+ name: 'Uzbekistan',
+ capital: 'Tashkent',
+ languages: ['Uzbek', 'Russian'],
+ population: 31576400,
+ flag: 'https://restcountries.eu/data/uzb.svg',
+ currency: "Uzbekistani so'm"
+ },
+ {
+ name: 'Vanuatu',
+ capital: 'Port Vila',
+ languages: ['Bislama', 'English', 'French'],
+ population: 277500,
+ flag: 'https://restcountries.eu/data/vut.svg',
+ currency: 'Vanuatu vatu'
+ },
+ {
+ name: 'Venezuela (Bolivarian Republic of)',
+ capital: 'Caracas',
+ languages: ['Spanish'],
+ population: 31028700,
+ flag: 'https://restcountries.eu/data/ven.svg',
+ currency: 'Venezuelan bolĂvar'
+ },
+ {
+ name: 'Viet Nam',
+ capital: 'Hanoi',
+ languages: ['Vietnamese'],
+ population: 92700000,
+ flag: 'https://restcountries.eu/data/vnm.svg',
+ currency: 'Vietnamese Äá»ng'
+ },
+ {
+ name: 'Wallis and Futuna',
+ capital: 'Mata-Utu',
+ languages: ['French'],
+ population: 11750,
+ flag: 'https://restcountries.eu/data/wlf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'Western Sahara',
+ capital: 'El AaiĂșn',
+ languages: ['Spanish'],
+ population: 510713,
+ flag: 'https://restcountries.eu/data/esh.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Yemen',
+ capital: "Sana'a",
+ languages: ['Arabic'],
+ population: 27478000,
+ flag: 'https://restcountries.eu/data/yem.svg',
+ currency: 'Yemeni rial'
+ },
+ {
+ name: 'Zambia',
+ capital: 'Lusaka',
+ languages: ['English'],
+ population: 15933883,
+ flag: 'https://restcountries.eu/data/zmb.svg',
+ currency: 'Zambian kwacha'
+ },
+ {
+ name: 'Zimbabwe',
+ capital: 'Harare',
+ languages: ['English', 'Shona', 'Northern Ndebele'],
+ population: 14240168,
+ flag: 'https://restcountries.eu/data/zwe.svg',
+ currency: 'Botswana pula'
+ }
+]
diff --git a/15_Day/15_day_starter/index.html b/15_Day/15_day_starter/index.html
new file mode 100644
index 0000000..db149cc
--- /dev/null
+++ b/15_Day/15_day_starter/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ 30DaysOfJavaScript:15 Day
+
+
+
+ 30DaysOfJavaScript:15 Day
+ Classes
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/15_Day/15_day_starter/scripts/main.js b/15_Day/15_day_starter/scripts/main.js
new file mode 100644
index 0000000..4e66495
--- /dev/null
+++ b/15_Day/15_day_starter/scripts/main.js
@@ -0,0 +1,105 @@
+
+
+class Person {
+ constructor(firstName, lastName, age, country, city) {
+ this.firstName = firstName
+ this.lastName = lastName
+ this.age = age
+ this.country = country
+ this.city = city
+ this.score = 0
+ this.skills = []
+ }
+ getFullName() {
+ const fullName = this.firstName + ' ' + this.lastName
+ return fullName
+ }
+ get getScore() {
+ return this.score
+ }
+ get getSkills() {
+ return this.skills
+ }
+ set setScore(score) {
+ this.score += score
+ }
+ set setSkill(skill) {
+ this.skills.push(skill)
+ }
+ getPersonInfo() {
+ let fullName = this.getFullName()
+ let skills =
+ this.skills.length > 0 &&
+ this.skills.slice(0, this.skills.length - 1).join(', ') +
+ ` and ${this.skills[this.skills.length - 1]}`
+
+ let formattedSkills = skills ? `He knows ${skills}` : ''
+
+ let info = `${fullName} is ${this.age}. He lives ${this.city}, ${this.country}. ${formattedSkills}`
+ console.log(this)
+ return info
+ }
+ static favoriteSkill() {
+ const skills = ['HTML', 'CSS', 'JS', 'React', 'Python', 'Node']
+ const index = Math.floor(Math.random() * skills.length)
+ console.log('hi')
+ return skills[index]
+ }
+}
+
+console.log(Person.favoriteSkill())
+
+class Student extends Person {
+ constructor(firstName, lastName, age, country, city, gender) {
+ super(firstName, lastName, age, country, city)
+ this.gender = gender
+ }
+
+ saySomething() {
+ console.log('I am a child of the person class')
+ }
+ getPersonInfo() {
+ let fullName = this.getFullName()
+ let skills =
+ this.skills.length > 0 &&
+ this.skills.slice(0, this.skills.length - 1).join(', ') +
+ ` and ${this.skills[this.skills.length - 1]}`
+
+ let formattedSkills = skills ? `He knows ${skills}` : ''
+ let pronoun = this.gender == 'Male' ? 'He' : 'She'
+
+ let info = `${fullName} is ${this.age}. ${pronoun} lives in ${this.city}, ${this.country}. ${formattedSkills}`
+ console.log(this)
+ return info
+ }
+}
+
+const s1 = new Student(
+ 'Asabeneh',
+ 'Yetayeh',
+ 250,
+ 'Finland',
+ 'Helsinki',
+ 'Male'
+)
+const s2 = new Student('Lidiya', 'Tekle', 28, 'Finland', 'Helsinki', 'Female')
+s1.setScore = 1
+s1.setSkill = 'HTML'
+s1.setSkill = 'CSS'
+s1.setSkill = 'JavaScript'
+
+s2.setScore = 1
+s2.setSkill = 'Planning'
+s2.setSkill = 'Managing'
+s2.setSkill = 'Organizing'
+
+console.log(s1)
+console.log(s2)
+
+console.log(s1.saySomething())
+console.log(s1.getFullName())
+console.log(s1.getPersonInfo())
+
+console.log(s2.saySomething())
+console.log(s2.getFullName())
+console.log(s2.getPersonInfo())
\ No newline at end of file
diff --git a/16_Day/16_day_json.md b/16_Day/16_day_json.md
new file mode 100644
index 0000000..ff04882
--- /dev/null
+++ b/16_Day/16_day_json.md
@@ -0,0 +1,597 @@
+
+
+[<< Day 15](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/15_Day/15_day_classes.md) | [Day 17 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/17_Day/17_day_web_storage.md)
+
+
+
+- [Day 16](#day-16)
+ - [JSON](#json)
+ - [Converting JSON to JavaScript Object](#converting-json-to-javascript-object)
+ - [JSON.parse()](#jsonparse)
+ - [Using a reviver function with JSON.parse()](#using-a-reviver-function-with-jsonparse)
+ - [Converting Object to JSON](#converting-object-to-json)
+ - [Using a Filter Array with JSON.stringify](#using-a-filter-array-with-jsonstringify)
+ - [Exercises](#exercises)
+ - [Exercises Level 1](#exercises-level-1)
+ - [Exercises Level 2](#exercises-level-2)
+ - [Exercises Level 3](#exercises-level-3)
+
+# Day 16
+
+## JSON
+
+JSON stands for JavaScript Object Notation. The JSON syntax is derived from JavaScript object notation syntax, but the JSON format is text or string only. JSON is a light weight data format for storing and transporting. JSON is mostly used when data is sent from a server to a client. JSON is an easier-to-use alternative to XML.
+
+**Example:**
+
+```js
+{
+"users":[
+ {
+ "firstName":"Asabeneh",
+ "lastName":"Yetayeh",
+ "age":250,
+ "email":"asab@asb.com"
+ },
+ {
+ "firstName":"Alex",
+ "lastName":"James",
+ "age":25,
+ "email":"alex@alex.com"
+ },
+ {
+ "firstName":"Lidiya",
+ "lastName":"Tekle",
+ "age":28,
+ "email":"lidiya@lidiya.com"
+ }
+]
+}
+```
+
+The above JSON example is not much different for a normal object. Then, what is the difference ? The difference is the key of a JSON object should be with double quotes or it should be a string. JavaScript Object and JSON are very similar that we can change JSON to Object and Object to JSON.
+
+Let us see the above example in more detail, it starts with a curly bracket. Inside the curly bracket, there is "users" key which has a value array. Inside the array we have different objects and each objects has keys, each keys has to have double quotes. For instance, we use "firstNaMe" instead of just firstName, however in object we use keys without double quotes. This is the major difference between an object and a JSON. Let's see more examples about JSON.
+
+**Example:**
+
+```js
+{
+ "Alex": {
+ "email": "alex@alex.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 30
+ },
+ "Asab": {
+ "email": "asab@asab.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "Redux",
+ "MongoDB",
+ "Express",
+ "React",
+ "Node"
+ ],
+ "age": 25,
+ "isLoggedIn": false,
+ "points": 50
+ },
+ "Brook": {
+ "email": "daniel@daniel.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React",
+ "Redux"
+ ],
+ "age": 30,
+ "isLoggedIn": true,
+ "points": 50
+ },
+ "Daniel": {
+ "email": "daniel@alex.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "Python"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ },
+ "John": {
+ "email": "john@john.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React",
+ "Redux",
+ "Node.js"
+ ],
+ "age": 20,
+ "isLoggedIn": true,
+ "points": 50
+ },
+ "Thomas": {
+ "email": "thomas@thomas.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ },
+ "Paul": {
+ "email": "paul@paul.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "MongoDB",
+ "Express",
+ "React",
+ "Node"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ }
+}
+```
+
+### Converting JSON to JavaScript Object
+
+Mostly we fetch JSON data from HTTP response or from a file, but we can store the JSON as a string and we can change to Object for sake of demonstration. In JavaScript the keyword _JSON_ has _parse()_ and _stringify()_ methods. When we want to change the JSON to an object we parse the JSON using _JSON.parse()_. When we want to change the object to JSON we use _JSON.stringify()_.
+
+#### JSON.parse()
+
+```js
+JSON.parse(json[, reviver])
+// json or text , the data
+// reviver is an optional callback function
+```
+
+```js
+const usersText = `{
+"users":[
+ {
+ "firstName":"Asabeneh",
+ "lastName":"Yetayeh",
+ "age":250,
+ "email":"asab@asb.com"
+ },
+ {
+ "firstName":"Alex",
+ "lastName":"James",
+ "age":25,
+ "email":"alex@alex.com"
+ },
+ {
+ "firstName":"Lidiya",
+ "lastName":"Tekle",
+ "age":28,
+ "email":"lidiya@lidiya.com"
+ }
+]
+}`
+
+const usersObj = JSON.parse(usersText, undefined, 4)
+console.log(usersObj)
+```
+
+### Using a reviver function with JSON.parse()
+
+To use the reviver function as a formatter, we put the keys we want to format first name and last name value. Let us say, we are interested to format the firstName and lastName of the JSON data .
+
+```js
+const usersText = `{
+"users":[
+ {
+ "firstName":"Asabeneh",
+ "lastName":"Yetayeh",
+ "age":250,
+ "email":"asab@asb.com"
+ },
+ {
+ "firstName":"Alex",
+ "lastName":"James",
+ "age":25,
+ "email":"alex@alex.com"
+ },
+ {
+ "firstName":"Lidiya",
+ "lastName":"Tekle",
+ "age":28,
+ "email":"lidiya@lidiya.com"
+ }
+]
+}`
+
+const usersObj = JSON.parse(usersText, (key, value) => {
+ let newValue =
+ typeof value == 'string' && key != 'email' ? value.toUpperCase() : value
+ return newValue
+})
+console.log(usersObj)
+```
+
+The _JSON.parse()_ is very handy to use. You do not have to pass optional parameter, you can just use it with the required parameter and you will achieve quite a lot.
+
+### Converting Object to JSON
+
+When we want to change the object to JSON we use _JSON.stringify()_. The stringify method takes one required parameter and two optional parameters. The replacer is used as filter and the space is an indentations. If we do not want to filter out any of the keys from the object we can just pass undefined.
+
+```js
+JSON.stringify(obj, replacer, space)
+// json or text , the data
+// reviver is an optional callback function
+```
+
+Let us convert the following object to a string. First let use keep all the keys and also let us have 4 space indentation.
+
+```js
+const users = {
+ Alex: {
+ email: 'alex@alex.com',
+ skills: ['HTML', 'CSS', 'JavaScript'],
+ age: 20,
+ isLoggedIn: false,
+ points: 30
+ },
+ Asab: {
+ email: 'asab@asab.com',
+ skills: [
+ 'HTML',
+ 'CSS',
+ 'JavaScript',
+ 'Redux',
+ 'MongoDB',
+ 'Express',
+ 'React',
+ 'Node'
+ ],
+ age: 25,
+ isLoggedIn: false,
+ points: 50
+ },
+ Brook: {
+ email: 'daniel@daniel.com',
+ skills: ['HTML', 'CSS', 'JavaScript', 'React', 'Redux'],
+ age: 30,
+ isLoggedIn: true,
+ points: 50
+ },
+ Daniel: {
+ email: 'daniel@alex.com',
+ skills: ['HTML', 'CSS', 'JavaScript', 'Python'],
+ age: 20,
+ isLoggedIn: false,
+ points: 40
+ },
+ John: {
+ email: 'john@john.com',
+ skills: ['HTML', 'CSS', 'JavaScript', 'React', 'Redux', 'Node.js'],
+ age: 20,
+ isLoggedIn: true,
+ points: 50
+ },
+ Thomas: {
+ email: 'thomas@thomas.com',
+ skills: ['HTML', 'CSS', 'JavaScript', 'React'],
+ age: 20,
+ isLoggedIn: false,
+ points: 40
+ },
+ Paul: {
+ email: 'paul@paul.com',
+ skills: [
+ 'HTML',
+ 'CSS',
+ 'JavaScript',
+ 'MongoDB',
+ 'Express',
+ 'React',
+ 'Node'
+ ],
+ age: 20,
+ isLoggedIn: false,
+ points: 40
+ }
+}
+
+const txt = JSON.stringify(users, undefined, 4)
+console.log(txt) // text means JSON- because json is a string form of an object.
+```
+
+```sh
+{
+ "Alex": {
+ "email": "alex@alex.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 30
+ },
+ "Asab": {
+ "email": "asab@asab.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "Redux",
+ "MongoDB",
+ "Express",
+ "React",
+ "Node"
+ ],
+ "age": 25,
+ "isLoggedIn": false,
+ "points": 50
+ },
+ "Brook": {
+ "email": "daniel@daniel.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React",
+ "Redux"
+ ],
+ "age": 30,
+ "isLoggedIn": true,
+ "points": 50
+ },
+ "Daniel": {
+ "email": "daniel@alex.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "Python"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ },
+ "John": {
+ "email": "john@john.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React",
+ "Redux",
+ "Node.js"
+ ],
+ "age": 20,
+ "isLoggedIn": true,
+ "points": 50
+ },
+ "Thomas": {
+ "email": "thomas@thomas.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ },
+ "Paul": {
+ "email": "paul@paul.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "MongoDB",
+ "Express",
+ "React",
+ "Node"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ }
+}
+```
+
+### Using a Filter Array with JSON.stringify
+
+Now, lets use the replacer as a filter. The user object has long list of keys but we are interested only in few of them. We put the keys we want to keep in array as show in the example and use it the place of the replacer.
+
+```js
+const user = {
+ firstName: 'Asabeneh',
+ lastName: 'Yetayeh',
+ country: 'Finland',
+ city: 'Helsinki',
+ email: 'alex@alex.com',
+ skills: ['HTML', 'CSS', 'JavaScript', 'React', 'Pyhton'],
+ age: 250,
+ isLoggedIn: false,
+ points: 30
+}
+
+const txt = JSON.stringify(user,['firstName', 'lastName', 'country', 'city', 'age'],4)
+console.log(txt)
+```
+
+```sh
+{
+ "firstName": "Asabeneh",
+ "lastName": "Yetayeh",
+ "country": "Finland",
+ "city": "Helsinki",
+ "age": 250
+}
+```
+
+đ You are extraordinary. Now, you knew a light-weight data format which you may use to store data or to send it an HTTP server. You are 16 steps a head to your way to greatness. Now do some exercises for your brain and for your muscle.
+
+## Exercises
+
+```js
+const skills = ['HTML', 'CSS', 'JS', 'React','Node', 'Python']
+let age = 250;
+let isMarried = true
+const student = {
+ firstName:'Asabeneh',
+ lastName:'Yetayehe',
+ age:250,
+ isMarried:true,
+ skills:['HTML', 'CSS', 'JS', 'React','Node', 'Python', ]
+}
+const text = `{
+ "Alex": {
+ "email": "alex@alex.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 30
+ },
+ "Asab": {
+ "email": "asab@asab.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "Redux",
+ "MongoDB",
+ "Express",
+ "React",
+ "Node"
+ ],
+ "age": 25,
+ "isLoggedIn": false,
+ "points": 50
+ },
+ "Brook": {
+ "email": "daniel@daniel.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React",
+ "Redux"
+ ],
+ "age": 30,
+ "isLoggedIn": true,
+ "points": 50
+ },
+ "Daniel": {
+ "email": "daniel@alex.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "Python"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ },
+ "John": {
+ "email": "john@john.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React",
+ "Redux",
+ "Node.js"
+ ],
+ "age": 20,
+ "isLoggedIn": true,
+ "points": 50
+ },
+ "Thomas": {
+ "email": "thomas@thomas.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "React"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ },
+ "Paul": {
+ "email": "paul@paul.com",
+ "skills": [
+ "HTML",
+ "CSS",
+ "JavaScript",
+ "MongoDB",
+ "Express",
+ "React",
+ "Node"
+ ],
+ "age": 20,
+ "isLoggedIn": false,
+ "points": 40
+ }
+}
+`
+```
+
+### Exercises Level 1
+
+1. Change skills array to JSON using JSON.stringify()
+
+1. Stringify the age variable
+
+1. Stringify the isMarried variable
+
+1. Stringify the student object
+
+### Exercises Level 2
+
+1. Stringify the students object with only firstName, lastName and skills properties
+
+### Exercises Level 3
+
+1. Parse the *text* JSON to object.
+2. Find the the user who has many skills.
+
+đ CONGRATULATIONS ! đ
+
+[<< Day 15](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/15_Day/15_day_classes.md) | [Day 17 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/17_Day/17_day_web_storage.md)
diff --git a/16_Day/16_day_starter/data/countries_data.js b/16_Day/16_day_starter/data/countries_data.js
new file mode 100644
index 0000000..92acddd
--- /dev/null
+++ b/16_Day/16_day_starter/data/countries_data.js
@@ -0,0 +1,2013 @@
+const countries = [
+ {
+ name: 'Afghanistan',
+ capital: 'Kabul',
+ languages: ['Pashto', 'Uzbek', 'Turkmen'],
+ population: 27657145,
+ flag: 'https://restcountries.eu/data/afg.svg',
+ currency: 'Afghan afghani'
+ },
+ {
+ name: 'Ă
land Islands',
+ capital: 'Mariehamn',
+ languages: ['Swedish'],
+ population: 28875,
+ flag: 'https://restcountries.eu/data/ala.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Albania',
+ capital: 'Tirana',
+ languages: ['Albanian'],
+ population: 2886026,
+ flag: 'https://restcountries.eu/data/alb.svg',
+ currency: 'Albanian lek'
+ },
+ {
+ name: 'Algeria',
+ capital: 'Algiers',
+ languages: ['Arabic'],
+ population: 40400000,
+ flag: 'https://restcountries.eu/data/dza.svg',
+ currency: 'Algerian dinar'
+ },
+ {
+ name: 'American Samoa',
+ capital: 'Pago Pago',
+ languages: ['English', 'Samoan'],
+ population: 57100,
+ flag: 'https://restcountries.eu/data/asm.svg',
+ currency: 'United State Dollar'
+ },
+ {
+ name: 'Andorra',
+ capital: 'Andorra la Vella',
+ languages: ['Catalan'],
+ population: 78014,
+ flag: 'https://restcountries.eu/data/and.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Angola',
+ capital: 'Luanda',
+ languages: ['Portuguese'],
+ population: 25868000,
+ flag: 'https://restcountries.eu/data/ago.svg',
+ currency: 'Angolan kwanza'
+ },
+ {
+ name: 'Anguilla',
+ capital: 'The Valley',
+ languages: ['English'],
+ population: 13452,
+ flag: 'https://restcountries.eu/data/aia.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Antarctica',
+ capital: '',
+ languages: ['English', 'Russian'],
+ population: 1000,
+ flag: 'https://restcountries.eu/data/ata.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Antigua and Barbuda',
+ capital: "Saint John's",
+ languages: ['English'],
+ population: 86295,
+ flag: 'https://restcountries.eu/data/atg.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Argentina',
+ capital: 'Buenos Aires',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 43590400,
+ flag: 'https://restcountries.eu/data/arg.svg',
+ currency: 'Argentine peso'
+ },
+ {
+ name: 'Armenia',
+ capital: 'Yerevan',
+ languages: ['Armenian', 'Russian'],
+ population: 2994400,
+ flag: 'https://restcountries.eu/data/arm.svg',
+ currency: 'Armenian dram'
+ },
+ {
+ name: 'Aruba',
+ capital: 'Oranjestad',
+ languages: ['Dutch', '(Eastern) Punjabi'],
+ population: 107394,
+ flag: 'https://restcountries.eu/data/abw.svg',
+ currency: 'Aruban florin'
+ },
+ {
+ name: 'Australia',
+ capital: 'Canberra',
+ languages: ['English'],
+ population: 24117360,
+ flag: 'https://restcountries.eu/data/aus.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Austria',
+ capital: 'Vienna',
+ languages: ['German'],
+ population: 8725931,
+ flag: 'https://restcountries.eu/data/aut.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Azerbaijan',
+ capital: 'Baku',
+ languages: ['Azerbaijani'],
+ population: 9730500,
+ flag: 'https://restcountries.eu/data/aze.svg',
+ currency: 'Azerbaijani manat'
+ },
+ {
+ name: 'Bahamas',
+ capital: 'Nassau',
+ languages: ['English'],
+ population: 378040,
+ flag: 'https://restcountries.eu/data/bhs.svg',
+ currency: 'Bahamian dollar'
+ },
+ {
+ name: 'Bahrain',
+ capital: 'Manama',
+ languages: ['Arabic'],
+ population: 1404900,
+ flag: 'https://restcountries.eu/data/bhr.svg',
+ currency: 'Bahraini dinar'
+ },
+ {
+ name: 'Bangladesh',
+ capital: 'Dhaka',
+ languages: ['Bengali'],
+ population: 161006790,
+ flag: 'https://restcountries.eu/data/bgd.svg',
+ currency: 'Bangladeshi taka'
+ },
+ {
+ name: 'Barbados',
+ capital: 'Bridgetown',
+ languages: ['English'],
+ population: 285000,
+ flag: 'https://restcountries.eu/data/brb.svg',
+ currency: 'Barbadian dollar'
+ },
+ {
+ name: 'Belarus',
+ capital: 'Minsk',
+ languages: ['Belarusian', 'Russian'],
+ population: 9498700,
+ flag: 'https://restcountries.eu/data/blr.svg',
+ currency: 'New Belarusian ruble'
+ },
+ {
+ name: 'Belgium',
+ capital: 'Brussels',
+ languages: ['Dutch', 'French', 'German'],
+ population: 11319511,
+ flag: 'https://restcountries.eu/data/bel.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Belize',
+ capital: 'Belmopan',
+ languages: ['English', 'Spanish'],
+ population: 370300,
+ flag: 'https://restcountries.eu/data/blz.svg',
+ currency: 'Belize dollar'
+ },
+ {
+ name: 'Benin',
+ capital: 'Porto-Novo',
+ languages: ['French'],
+ population: 10653654,
+ flag: 'https://restcountries.eu/data/ben.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Bermuda',
+ capital: 'Hamilton',
+ languages: ['English'],
+ population: 61954,
+ flag: 'https://restcountries.eu/data/bmu.svg',
+ currency: 'Bermudian dollar'
+ },
+ {
+ name: 'Bhutan',
+ capital: 'Thimphu',
+ languages: ['Dzongkha'],
+ population: 775620,
+ flag: 'https://restcountries.eu/data/btn.svg',
+ currency: 'Bhutanese ngultrum'
+ },
+ {
+ name: 'Bolivia (Plurinational State of)',
+ capital: 'Sucre',
+ languages: ['Spanish', 'Aymara', 'Quechua'],
+ population: 10985059,
+ flag: 'https://restcountries.eu/data/bol.svg',
+ currency: 'Bolivian boliviano'
+ },
+ {
+ name: 'Bonaire, Sint Eustatius and Saba',
+ capital: 'Kralendijk',
+ languages: ['Dutch'],
+ population: 17408,
+ flag: 'https://restcountries.eu/data/bes.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Bosnia and Herzegovina',
+ capital: 'Sarajevo',
+ languages: ['Bosnian', 'Croatian', 'Serbian'],
+ population: 3531159,
+ flag: 'https://restcountries.eu/data/bih.svg',
+ currency: 'Bosnia and Herzegovina convertible mark'
+ },
+ {
+ name: 'Botswana',
+ capital: 'Gaborone',
+ languages: ['English', 'Tswana'],
+ population: 2141206,
+ flag: 'https://restcountries.eu/data/bwa.svg',
+ currency: 'Botswana pula'
+ },
+ {
+ name: 'Bouvet Island',
+ capital: '',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/bvt.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Brazil',
+ capital: 'BrasĂlia',
+ languages: ['Portuguese'],
+ population: 206135893,
+ flag: 'https://restcountries.eu/data/bra.svg',
+ currency: 'Brazilian real'
+ },
+ {
+ name: 'British Indian Ocean Territory',
+ capital: 'Diego Garcia',
+ languages: ['English'],
+ population: 3000,
+ flag: 'https://restcountries.eu/data/iot.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'United States Minor Outlying Islands',
+ capital: '',
+ languages: ['English'],
+ population: 300,
+ flag: 'https://restcountries.eu/data/umi.svg',
+ currency: 'United States Dollar'
+ },
+ {
+ name: 'Virgin Islands (British)',
+ capital: 'Road Town',
+ languages: ['English'],
+ population: 28514,
+ flag: 'https://restcountries.eu/data/vgb.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Virgin Islands (U.S.)',
+ capital: 'Charlotte Amalie',
+ languages: ['English'],
+ population: 114743,
+ flag: 'https://restcountries.eu/data/vir.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Brunei Darussalam',
+ capital: 'Bandar Seri Begawan',
+ languages: ['Malay'],
+ population: 411900,
+ flag: 'https://restcountries.eu/data/brn.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Bulgaria',
+ capital: 'Sofia',
+ languages: ['Bulgarian'],
+ population: 7153784,
+ flag: 'https://restcountries.eu/data/bgr.svg',
+ currency: 'Bulgarian lev'
+ },
+ {
+ name: 'Burkina Faso',
+ capital: 'Ouagadougou',
+ languages: ['French', 'Fula'],
+ population: 19034397,
+ flag: 'https://restcountries.eu/data/bfa.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Burundi',
+ capital: 'Bujumbura',
+ languages: ['French', 'Kirundi'],
+ population: 10114505,
+ flag: 'https://restcountries.eu/data/bdi.svg',
+ currency: 'Burundian franc'
+ },
+ {
+ name: 'Cambodia',
+ capital: 'Phnom Penh',
+ languages: ['Khmer'],
+ population: 15626444,
+ flag: 'https://restcountries.eu/data/khm.svg',
+ currency: 'Cambodian riel'
+ },
+ {
+ name: 'Cameroon',
+ capital: 'Yaoundé',
+ languages: ['English', 'French'],
+ population: 22709892,
+ flag: 'https://restcountries.eu/data/cmr.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Canada',
+ capital: 'Ottawa',
+ languages: ['English', 'French'],
+ population: 36155487,
+ flag: 'https://restcountries.eu/data/can.svg',
+ currency: 'Canadian dollar'
+ },
+ {
+ name: 'Cabo Verde',
+ capital: 'Praia',
+ languages: ['Portuguese'],
+ population: 531239,
+ flag: 'https://restcountries.eu/data/cpv.svg',
+ currency: 'Cape Verdean escudo'
+ },
+ {
+ name: 'Cayman Islands',
+ capital: 'George Town',
+ languages: ['English'],
+ population: 58238,
+ flag: 'https://restcountries.eu/data/cym.svg',
+ currency: 'Cayman Islands dollar'
+ },
+ {
+ name: 'Central African Republic',
+ capital: 'Bangui',
+ languages: ['French', 'Sango'],
+ population: 4998000,
+ flag: 'https://restcountries.eu/data/caf.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chad',
+ capital: "N'Djamena",
+ languages: ['French', 'Arabic'],
+ population: 14497000,
+ flag: 'https://restcountries.eu/data/tcd.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chile',
+ capital: 'Santiago',
+ languages: ['Spanish'],
+ population: 18191900,
+ flag: 'https://restcountries.eu/data/chl.svg',
+ currency: 'Chilean peso'
+ },
+ {
+ name: 'China',
+ capital: 'Beijing',
+ languages: ['Chinese'],
+ population: 1377422166,
+ flag: 'https://restcountries.eu/data/chn.svg',
+ currency: 'Chinese yuan'
+ },
+ {
+ name: 'Christmas Island',
+ capital: 'Flying Fish Cove',
+ languages: ['English'],
+ population: 2072,
+ flag: 'https://restcountries.eu/data/cxr.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Cocos (Keeling) Islands',
+ capital: 'West Island',
+ languages: ['English'],
+ population: 550,
+ flag: 'https://restcountries.eu/data/cck.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Colombia',
+ capital: 'BogotĂĄ',
+ languages: ['Spanish'],
+ population: 48759958,
+ flag: 'https://restcountries.eu/data/col.svg',
+ currency: 'Colombian peso'
+ },
+ {
+ name: 'Comoros',
+ capital: 'Moroni',
+ languages: ['Arabic', 'French'],
+ population: 806153,
+ flag: 'https://restcountries.eu/data/com.svg',
+ currency: 'Comorian franc'
+ },
+ {
+ name: 'Congo',
+ capital: 'Brazzaville',
+ languages: ['French', 'Lingala'],
+ population: 4741000,
+ flag: 'https://restcountries.eu/data/cog.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Congo (Democratic Republic of the)',
+ capital: 'Kinshasa',
+ languages: ['French', 'Lingala', 'Kongo', 'Swahili', 'Luba-Katanga'],
+ population: 85026000,
+ flag: 'https://restcountries.eu/data/cod.svg',
+ currency: 'Congolese franc'
+ },
+ {
+ name: 'Cook Islands',
+ capital: 'Avarua',
+ languages: ['English'],
+ population: 18100,
+ flag: 'https://restcountries.eu/data/cok.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Costa Rica',
+ capital: 'San José',
+ languages: ['Spanish'],
+ population: 4890379,
+ flag: 'https://restcountries.eu/data/cri.svg',
+ currency: 'Costa Rican colĂłn'
+ },
+ {
+ name: 'Croatia',
+ capital: 'Zagreb',
+ languages: ['Croatian'],
+ population: 4190669,
+ flag: 'https://restcountries.eu/data/hrv.svg',
+ currency: 'Croatian kuna'
+ },
+ {
+ name: 'Cuba',
+ capital: 'Havana',
+ languages: ['Spanish'],
+ population: 11239004,
+ flag: 'https://restcountries.eu/data/cub.svg',
+ currency: 'Cuban convertible peso'
+ },
+ {
+ name: 'Curaçao',
+ capital: 'Willemstad',
+ languages: ['Dutch', '(Eastern) Punjabi', 'English'],
+ population: 154843,
+ flag: 'https://restcountries.eu/data/cuw.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Cyprus',
+ capital: 'Nicosia',
+ languages: ['Greek (modern)', 'Turkish', 'Armenian'],
+ population: 847000,
+ flag: 'https://restcountries.eu/data/cyp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Czech Republic',
+ capital: 'Prague',
+ languages: ['Czech', 'Slovak'],
+ population: 10558524,
+ flag: 'https://restcountries.eu/data/cze.svg',
+ currency: 'Czech koruna'
+ },
+ {
+ name: 'Denmark',
+ capital: 'Copenhagen',
+ languages: ['Danish'],
+ population: 5717014,
+ flag: 'https://restcountries.eu/data/dnk.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Djibouti',
+ capital: 'Djibouti',
+ languages: ['French', 'Arabic'],
+ population: 900000,
+ flag: 'https://restcountries.eu/data/dji.svg',
+ currency: 'Djiboutian franc'
+ },
+ {
+ name: 'Dominica',
+ capital: 'Roseau',
+ languages: ['English'],
+ population: 71293,
+ flag: 'https://restcountries.eu/data/dma.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Dominican Republic',
+ capital: 'Santo Domingo',
+ languages: ['Spanish'],
+ population: 10075045,
+ flag: 'https://restcountries.eu/data/dom.svg',
+ currency: 'Dominican peso'
+ },
+ {
+ name: 'Ecuador',
+ capital: 'Quito',
+ languages: ['Spanish'],
+ population: 16545799,
+ flag: 'https://restcountries.eu/data/ecu.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Egypt',
+ capital: 'Cairo',
+ languages: ['Arabic'],
+ population: 91290000,
+ flag: 'https://restcountries.eu/data/egy.svg',
+ currency: 'Egyptian pound'
+ },
+ {
+ name: 'El Salvador',
+ capital: 'San Salvador',
+ languages: ['Spanish'],
+ population: 6520675,
+ flag: 'https://restcountries.eu/data/slv.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Equatorial Guinea',
+ capital: 'Malabo',
+ languages: ['Spanish', 'French'],
+ population: 1222442,
+ flag: 'https://restcountries.eu/data/gnq.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Eritrea',
+ capital: 'Asmara',
+ languages: ['Tigrinya', 'Arabic', 'English'],
+ population: 5352000,
+ flag: 'https://restcountries.eu/data/eri.svg',
+ currency: 'Eritrean nakfa'
+ },
+ {
+ name: 'Estonia',
+ capital: 'Tallinn',
+ languages: ['Estonian'],
+ population: 1315944,
+ flag: 'https://restcountries.eu/data/est.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ethiopia',
+ capital: 'Addis Ababa',
+ languages: ['Amharic'],
+ population: 92206005,
+ flag: 'https://restcountries.eu/data/eth.svg',
+ currency: 'Ethiopian birr'
+ },
+ {
+ name: 'Falkland Islands (Malvinas)',
+ capital: 'Stanley',
+ languages: ['English'],
+ population: 2563,
+ flag: 'https://restcountries.eu/data/flk.svg',
+ currency: 'Falkland Islands pound'
+ },
+ {
+ name: 'Faroe Islands',
+ capital: 'TĂłrshavn',
+ languages: ['Faroese'],
+ population: 49376,
+ flag: 'https://restcountries.eu/data/fro.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Fiji',
+ capital: 'Suva',
+ languages: ['English', 'Fijian', 'Hindi', 'Urdu'],
+ population: 867000,
+ flag: 'https://restcountries.eu/data/fji.svg',
+ currency: 'Fijian dollar'
+ },
+ {
+ name: 'Finland',
+ capital: 'Helsinki',
+ languages: ['Finnish', 'Swedish'],
+ population: 5491817,
+ flag: 'https://restcountries.eu/data/fin.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'France',
+ capital: 'Paris',
+ languages: ['French'],
+ population: 66710000,
+ flag: 'https://restcountries.eu/data/fra.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Guiana',
+ capital: 'Cayenne',
+ languages: ['French'],
+ population: 254541,
+ flag: 'https://restcountries.eu/data/guf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Polynesia',
+ capital: 'PapeetÄ',
+ languages: ['French'],
+ population: 271800,
+ flag: 'https://restcountries.eu/data/pyf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'French Southern Territories',
+ capital: 'Port-aux-Français',
+ languages: ['French'],
+ population: 140,
+ flag: 'https://restcountries.eu/data/atf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Gabon',
+ capital: 'Libreville',
+ languages: ['French'],
+ population: 1802278,
+ flag: 'https://restcountries.eu/data/gab.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Gambia',
+ capital: 'Banjul',
+ languages: ['English'],
+ population: 1882450,
+ flag: 'https://restcountries.eu/data/gmb.svg',
+ currency: 'Gambian dalasi'
+ },
+ {
+ name: 'Georgia',
+ capital: 'Tbilisi',
+ languages: ['Georgian'],
+ population: 3720400,
+ flag: 'https://restcountries.eu/data/geo.svg',
+ currency: 'Georgian Lari'
+ },
+ {
+ name: 'Germany',
+ capital: 'Berlin',
+ languages: ['German'],
+ population: 81770900,
+ flag: 'https://restcountries.eu/data/deu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ghana',
+ capital: 'Accra',
+ languages: ['English'],
+ population: 27670174,
+ flag: 'https://restcountries.eu/data/gha.svg',
+ currency: 'Ghanaian cedi'
+ },
+ {
+ name: 'Gibraltar',
+ capital: 'Gibraltar',
+ languages: ['English'],
+ population: 33140,
+ flag: 'https://restcountries.eu/data/gib.svg',
+ currency: 'Gibraltar pound'
+ },
+ {
+ name: 'Greece',
+ capital: 'Athens',
+ languages: ['Greek (modern)'],
+ population: 10858018,
+ flag: 'https://restcountries.eu/data/grc.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Greenland',
+ capital: 'Nuuk',
+ languages: ['Kalaallisut'],
+ population: 55847,
+ flag: 'https://restcountries.eu/data/grl.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Grenada',
+ capital: "St. George's",
+ languages: ['English'],
+ population: 103328,
+ flag: 'https://restcountries.eu/data/grd.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Guadeloupe',
+ capital: 'Basse-Terre',
+ languages: ['French'],
+ population: 400132,
+ flag: 'https://restcountries.eu/data/glp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Guam',
+ capital: 'HagÄtña',
+ languages: ['English', 'Chamorro', 'Spanish'],
+ population: 184200,
+ flag: 'https://restcountries.eu/data/gum.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Guatemala',
+ capital: 'Guatemala City',
+ languages: ['Spanish'],
+ population: 16176133,
+ flag: 'https://restcountries.eu/data/gtm.svg',
+ currency: 'Guatemalan quetzal'
+ },
+ {
+ name: 'Guernsey',
+ capital: 'St. Peter Port',
+ languages: ['English', 'French'],
+ population: 62999,
+ flag: 'https://restcountries.eu/data/ggy.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Guinea',
+ capital: 'Conakry',
+ languages: ['French', 'Fula'],
+ population: 12947000,
+ flag: 'https://restcountries.eu/data/gin.svg',
+ currency: 'Guinean franc'
+ },
+ {
+ name: 'Guinea-Bissau',
+ capital: 'Bissau',
+ languages: ['Portuguese'],
+ population: 1547777,
+ flag: 'https://restcountries.eu/data/gnb.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Guyana',
+ capital: 'Georgetown',
+ languages: ['English'],
+ population: 746900,
+ flag: 'https://restcountries.eu/data/guy.svg',
+ currency: 'Guyanese dollar'
+ },
+ {
+ name: 'Haiti',
+ capital: 'Port-au-Prince',
+ languages: ['French', 'Haitian'],
+ population: 11078033,
+ flag: 'https://restcountries.eu/data/hti.svg',
+ currency: 'Haitian gourde'
+ },
+ {
+ name: 'Heard Island and McDonald Islands',
+ capital: '',
+ languages: ['English'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/hmd.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Holy See',
+ capital: 'Rome',
+ languages: ['Latin', 'Italian', 'French', 'German'],
+ population: 451,
+ flag: 'https://restcountries.eu/data/vat.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Honduras',
+ capital: 'Tegucigalpa',
+ languages: ['Spanish'],
+ population: 8576532,
+ flag: 'https://restcountries.eu/data/hnd.svg',
+ currency: 'Honduran lempira'
+ },
+ {
+ name: 'Hong Kong',
+ capital: 'City of Victoria',
+ languages: ['English', 'Chinese'],
+ population: 7324300,
+ flag: 'https://restcountries.eu/data/hkg.svg',
+ currency: 'Hong Kong dollar'
+ },
+ {
+ name: 'Hungary',
+ capital: 'Budapest',
+ languages: ['Hungarian'],
+ population: 9823000,
+ flag: 'https://restcountries.eu/data/hun.svg',
+ currency: 'Hungarian forint'
+ },
+ {
+ name: 'Iceland',
+ capital: 'ReykjavĂk',
+ languages: ['Icelandic'],
+ population: 334300,
+ flag: 'https://restcountries.eu/data/isl.svg',
+ currency: 'Icelandic krĂłna'
+ },
+ {
+ name: 'India',
+ capital: 'New Delhi',
+ languages: ['Hindi', 'English'],
+ population: 1295210000,
+ flag: 'https://restcountries.eu/data/ind.svg',
+ currency: 'Indian rupee'
+ },
+ {
+ name: 'Indonesia',
+ capital: 'Jakarta',
+ languages: ['Indonesian'],
+ population: 258705000,
+ flag: 'https://restcountries.eu/data/idn.svg',
+ currency: 'Indonesian rupiah'
+ },
+ {
+ name: "CĂŽte d'Ivoire",
+ capital: 'Yamoussoukro',
+ languages: ['French'],
+ population: 22671331,
+ flag: 'https://restcountries.eu/data/civ.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Iran (Islamic Republic of)',
+ capital: 'Tehran',
+ languages: ['Persian (Farsi)'],
+ population: 79369900,
+ flag: 'https://restcountries.eu/data/irn.svg',
+ currency: 'Iranian rial'
+ },
+ {
+ name: 'Iraq',
+ capital: 'Baghdad',
+ languages: ['Arabic', 'Kurdish'],
+ population: 37883543,
+ flag: 'https://restcountries.eu/data/irq.svg',
+ currency: 'Iraqi dinar'
+ },
+ {
+ name: 'Ireland',
+ capital: 'Dublin',
+ languages: ['Irish', 'English'],
+ population: 6378000,
+ flag: 'https://restcountries.eu/data/irl.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Isle of Man',
+ capital: 'Douglas',
+ languages: ['English', 'Manx'],
+ population: 84497,
+ flag: 'https://restcountries.eu/data/imn.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Israel',
+ capital: 'Jerusalem',
+ languages: ['Hebrew (modern)', 'Arabic'],
+ population: 8527400,
+ flag: 'https://restcountries.eu/data/isr.svg',
+ currency: 'Israeli new shekel'
+ },
+ {
+ name: 'Italy',
+ capital: 'Rome',
+ languages: ['Italian'],
+ population: 60665551,
+ flag: 'https://restcountries.eu/data/ita.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Jamaica',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2723246,
+ flag: 'https://restcountries.eu/data/jam.svg',
+ currency: 'Jamaican dollar'
+ },
+ {
+ name: 'Japan',
+ capital: 'Tokyo',
+ languages: ['Japanese'],
+ population: 126960000,
+ flag: 'https://restcountries.eu/data/jpn.svg',
+ currency: 'Japanese yen'
+ },
+ {
+ name: 'Jersey',
+ capital: 'Saint Helier',
+ languages: ['English', 'French'],
+ population: 100800,
+ flag: 'https://restcountries.eu/data/jey.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Jordan',
+ capital: 'Amman',
+ languages: ['Arabic'],
+ population: 9531712,
+ flag: 'https://restcountries.eu/data/jor.svg',
+ currency: 'Jordanian dinar'
+ },
+ {
+ name: 'Kazakhstan',
+ capital: 'Astana',
+ languages: ['Kazakh', 'Russian'],
+ population: 17753200,
+ flag: 'https://restcountries.eu/data/kaz.svg',
+ currency: 'Kazakhstani tenge'
+ },
+ {
+ name: 'Kenya',
+ capital: 'Nairobi',
+ languages: ['English', 'Swahili'],
+ population: 47251000,
+ flag: 'https://restcountries.eu/data/ken.svg',
+ currency: 'Kenyan shilling'
+ },
+ {
+ name: 'Kiribati',
+ capital: 'South Tarawa',
+ languages: ['English'],
+ population: 113400,
+ flag: 'https://restcountries.eu/data/kir.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Kuwait',
+ capital: 'Kuwait City',
+ languages: ['Arabic'],
+ population: 4183658,
+ flag: 'https://restcountries.eu/data/kwt.svg',
+ currency: 'Kuwaiti dinar'
+ },
+ {
+ name: 'Kyrgyzstan',
+ capital: 'Bishkek',
+ languages: ['Kyrgyz', 'Russian'],
+ population: 6047800,
+ flag: 'https://restcountries.eu/data/kgz.svg',
+ currency: 'Kyrgyzstani som'
+ },
+ {
+ name: "Lao People's Democratic Republic",
+ capital: 'Vientiane',
+ languages: ['Lao'],
+ population: 6492400,
+ flag: 'https://restcountries.eu/data/lao.svg',
+ currency: 'Lao kip'
+ },
+ {
+ name: 'Latvia',
+ capital: 'Riga',
+ languages: ['Latvian'],
+ population: 1961600,
+ flag: 'https://restcountries.eu/data/lva.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Lebanon',
+ capital: 'Beirut',
+ languages: ['Arabic', 'French'],
+ population: 5988000,
+ flag: 'https://restcountries.eu/data/lbn.svg',
+ currency: 'Lebanese pound'
+ },
+ {
+ name: 'Lesotho',
+ capital: 'Maseru',
+ languages: ['English', 'Southern Sotho'],
+ population: 1894194,
+ flag: 'https://restcountries.eu/data/lso.svg',
+ currency: 'Lesotho loti'
+ },
+ {
+ name: 'Liberia',
+ capital: 'Monrovia',
+ languages: ['English'],
+ population: 4615000,
+ flag: 'https://restcountries.eu/data/lbr.svg',
+ currency: 'Liberian dollar'
+ },
+ {
+ name: 'Libya',
+ capital: 'Tripoli',
+ languages: ['Arabic'],
+ population: 6385000,
+ flag: 'https://restcountries.eu/data/lby.svg',
+ currency: 'Libyan dinar'
+ },
+ {
+ name: 'Liechtenstein',
+ capital: 'Vaduz',
+ languages: ['German'],
+ population: 37623,
+ flag: 'https://restcountries.eu/data/lie.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Lithuania',
+ capital: 'Vilnius',
+ languages: ['Lithuanian'],
+ population: 2872294,
+ flag: 'https://restcountries.eu/data/ltu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Luxembourg',
+ capital: 'Luxembourg',
+ languages: ['French', 'German', 'Luxembourgish'],
+ population: 576200,
+ flag: 'https://restcountries.eu/data/lux.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Macao',
+ capital: '',
+ languages: ['Chinese', 'Portuguese'],
+ population: 649100,
+ flag: 'https://restcountries.eu/data/mac.svg',
+ currency: 'Macanese pataca'
+ },
+ {
+ name: 'Macedonia (the former Yugoslav Republic of)',
+ capital: 'Skopje',
+ languages: ['Macedonian'],
+ population: 2058539,
+ flag: 'https://restcountries.eu/data/mkd.svg',
+ currency: 'Macedonian denar'
+ },
+ {
+ name: 'Madagascar',
+ capital: 'Antananarivo',
+ languages: ['French', 'Malagasy'],
+ population: 22434363,
+ flag: 'https://restcountries.eu/data/mdg.svg',
+ currency: 'Malagasy ariary'
+ },
+ {
+ name: 'Malawi',
+ capital: 'Lilongwe',
+ languages: ['English', 'Chichewa'],
+ population: 16832910,
+ flag: 'https://restcountries.eu/data/mwi.svg',
+ currency: 'Malawian kwacha'
+ },
+ {
+ name: 'Malaysia',
+ capital: 'Kuala Lumpur',
+ languages: ['Malaysian'],
+ population: 31405416,
+ flag: 'https://restcountries.eu/data/mys.svg',
+ currency: 'Malaysian ringgit'
+ },
+ {
+ name: 'Maldives',
+ capital: 'Malé',
+ languages: ['Divehi'],
+ population: 344023,
+ flag: 'https://restcountries.eu/data/mdv.svg',
+ currency: 'Maldivian rufiyaa'
+ },
+ {
+ name: 'Mali',
+ capital: 'Bamako',
+ languages: ['French'],
+ population: 18135000,
+ flag: 'https://restcountries.eu/data/mli.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Malta',
+ capital: 'Valletta',
+ languages: ['Maltese', 'English'],
+ population: 425384,
+ flag: 'https://restcountries.eu/data/mlt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Marshall Islands',
+ capital: 'Majuro',
+ languages: ['English', 'Marshallese'],
+ population: 54880,
+ flag: 'https://restcountries.eu/data/mhl.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Martinique',
+ capital: 'Fort-de-France',
+ languages: ['French'],
+ population: 378243,
+ flag: 'https://restcountries.eu/data/mtq.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mauritania',
+ capital: 'Nouakchott',
+ languages: ['Arabic'],
+ population: 3718678,
+ flag: 'https://restcountries.eu/data/mrt.svg',
+ currency: 'Mauritanian ouguiya'
+ },
+ {
+ name: 'Mauritius',
+ capital: 'Port Louis',
+ languages: ['English'],
+ population: 1262879,
+ flag: 'https://restcountries.eu/data/mus.svg',
+ currency: 'Mauritian rupee'
+ },
+ {
+ name: 'Mayotte',
+ capital: 'Mamoudzou',
+ languages: ['French'],
+ population: 226915,
+ flag: 'https://restcountries.eu/data/myt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mexico',
+ capital: 'Mexico City',
+ languages: ['Spanish'],
+ population: 122273473,
+ flag: 'https://restcountries.eu/data/mex.svg',
+ currency: 'Mexican peso'
+ },
+ {
+ name: 'Micronesia (Federated States of)',
+ capital: 'Palikir',
+ languages: ['English'],
+ population: 102800,
+ flag: 'https://restcountries.eu/data/fsm.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Moldova (Republic of)',
+ capital: 'ChiÈinÄu',
+ languages: ['Romanian'],
+ population: 3553100,
+ flag: 'https://restcountries.eu/data/mda.svg',
+ currency: 'Moldovan leu'
+ },
+ {
+ name: 'Monaco',
+ capital: 'Monaco',
+ languages: ['French'],
+ population: 38400,
+ flag: 'https://restcountries.eu/data/mco.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mongolia',
+ capital: 'Ulan Bator',
+ languages: ['Mongolian'],
+ population: 3093100,
+ flag: 'https://restcountries.eu/data/mng.svg',
+ currency: 'Mongolian tögrög'
+ },
+ {
+ name: 'Montenegro',
+ capital: 'Podgorica',
+ languages: ['Serbian', 'Bosnian', 'Albanian', 'Croatian'],
+ population: 621810,
+ flag: 'https://restcountries.eu/data/mne.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Montserrat',
+ capital: 'Plymouth',
+ languages: ['English'],
+ population: 4922,
+ flag: 'https://restcountries.eu/data/msr.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Morocco',
+ capital: 'Rabat',
+ languages: ['Arabic'],
+ population: 33337529,
+ flag: 'https://restcountries.eu/data/mar.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Mozambique',
+ capital: 'Maputo',
+ languages: ['Portuguese'],
+ population: 26423700,
+ flag: 'https://restcountries.eu/data/moz.svg',
+ currency: 'Mozambican metical'
+ },
+ {
+ name: 'Myanmar',
+ capital: 'Naypyidaw',
+ languages: ['Burmese'],
+ population: 51419420,
+ flag: 'https://restcountries.eu/data/mmr.svg',
+ currency: 'Burmese kyat'
+ },
+ {
+ name: 'Namibia',
+ capital: 'Windhoek',
+ languages: ['English', 'Afrikaans'],
+ population: 2324388,
+ flag: 'https://restcountries.eu/data/nam.svg',
+ currency: 'Namibian dollar'
+ },
+ {
+ name: 'Nauru',
+ capital: 'Yaren',
+ languages: ['English', 'Nauruan'],
+ population: 10084,
+ flag: 'https://restcountries.eu/data/nru.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Nepal',
+ capital: 'Kathmandu',
+ languages: ['Nepali'],
+ population: 28431500,
+ flag: 'https://restcountries.eu/data/npl.svg',
+ currency: 'Nepalese rupee'
+ },
+ {
+ name: 'Netherlands',
+ capital: 'Amsterdam',
+ languages: ['Dutch'],
+ population: 17019800,
+ flag: 'https://restcountries.eu/data/nld.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'New Caledonia',
+ capital: 'Nouméa',
+ languages: ['French'],
+ population: 268767,
+ flag: 'https://restcountries.eu/data/ncl.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'New Zealand',
+ capital: 'Wellington',
+ languages: ['English', 'MÄori'],
+ population: 4697854,
+ flag: 'https://restcountries.eu/data/nzl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Nicaragua',
+ capital: 'Managua',
+ languages: ['Spanish'],
+ population: 6262703,
+ flag: 'https://restcountries.eu/data/nic.svg',
+ currency: 'Nicaraguan cĂłrdoba'
+ },
+ {
+ name: 'Niger',
+ capital: 'Niamey',
+ languages: ['French'],
+ population: 20715000,
+ flag: 'https://restcountries.eu/data/ner.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Nigeria',
+ capital: 'Abuja',
+ languages: ['English'],
+ population: 186988000,
+ flag: 'https://restcountries.eu/data/nga.svg',
+ currency: 'Nigerian naira'
+ },
+ {
+ name: 'Niue',
+ capital: 'Alofi',
+ languages: ['English'],
+ population: 1470,
+ flag: 'https://restcountries.eu/data/niu.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Norfolk Island',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2302,
+ flag: 'https://restcountries.eu/data/nfk.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: "Korea (Democratic People's Republic of)",
+ capital: 'Pyongyang',
+ languages: ['Korean'],
+ population: 25281000,
+ flag: 'https://restcountries.eu/data/prk.svg',
+ currency: 'North Korean won'
+ },
+ {
+ name: 'Northern Mariana Islands',
+ capital: 'Saipan',
+ languages: ['English', 'Chamorro'],
+ population: 56940,
+ flag: 'https://restcountries.eu/data/mnp.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Norway',
+ capital: 'Oslo',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 5223256,
+ flag: 'https://restcountries.eu/data/nor.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Oman',
+ capital: 'Muscat',
+ languages: ['Arabic'],
+ population: 4420133,
+ flag: 'https://restcountries.eu/data/omn.svg',
+ currency: 'Omani rial'
+ },
+ {
+ name: 'Pakistan',
+ capital: 'Islamabad',
+ languages: ['English', 'Urdu'],
+ population: 194125062,
+ flag: 'https://restcountries.eu/data/pak.svg',
+ currency: 'Pakistani rupee'
+ },
+ {
+ name: 'Palau',
+ capital: 'Ngerulmud',
+ languages: ['English'],
+ population: 17950,
+ flag: 'https://restcountries.eu/data/plw.svg',
+ currency: '[E]'
+ },
+ {
+ name: 'Palestine, State of',
+ capital: 'Ramallah',
+ languages: ['Arabic'],
+ population: 4682467,
+ flag: 'https://restcountries.eu/data/pse.svg',
+ currency: 'Israeli new sheqel'
+ },
+ {
+ name: 'Panama',
+ capital: 'Panama City',
+ languages: ['Spanish'],
+ population: 3814672,
+ flag: 'https://restcountries.eu/data/pan.svg',
+ currency: 'Panamanian balboa'
+ },
+ {
+ name: 'Papua New Guinea',
+ capital: 'Port Moresby',
+ languages: ['English'],
+ population: 8083700,
+ flag: 'https://restcountries.eu/data/png.svg',
+ currency: 'Papua New Guinean kina'
+ },
+ {
+ name: 'Paraguay',
+ capital: 'AsunciĂłn',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 6854536,
+ flag: 'https://restcountries.eu/data/pry.svg',
+ currency: 'Paraguayan guaranĂ'
+ },
+ {
+ name: 'Peru',
+ capital: 'Lima',
+ languages: ['Spanish'],
+ population: 31488700,
+ flag: 'https://restcountries.eu/data/per.svg',
+ currency: 'Peruvian sol'
+ },
+ {
+ name: 'Philippines',
+ capital: 'Manila',
+ languages: ['English'],
+ population: 103279800,
+ flag: 'https://restcountries.eu/data/phl.svg',
+ currency: 'Philippine peso'
+ },
+ {
+ name: 'Pitcairn',
+ capital: 'Adamstown',
+ languages: ['English'],
+ population: 56,
+ flag: 'https://restcountries.eu/data/pcn.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Poland',
+ capital: 'Warsaw',
+ languages: ['Polish'],
+ population: 38437239,
+ flag: 'https://restcountries.eu/data/pol.svg',
+ currency: 'Polish zĆoty'
+ },
+ {
+ name: 'Portugal',
+ capital: 'Lisbon',
+ languages: ['Portuguese'],
+ population: 10374822,
+ flag: 'https://restcountries.eu/data/prt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Puerto Rico',
+ capital: 'San Juan',
+ languages: ['Spanish', 'English'],
+ population: 3474182,
+ flag: 'https://restcountries.eu/data/pri.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Qatar',
+ capital: 'Doha',
+ languages: ['Arabic'],
+ population: 2587564,
+ flag: 'https://restcountries.eu/data/qat.svg',
+ currency: 'Qatari riyal'
+ },
+ {
+ name: 'Republic of Kosovo',
+ capital: 'Pristina',
+ languages: ['Albanian', 'Serbian'],
+ population: 1733842,
+ flag: 'https://restcountries.eu/data/kos.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Réunion',
+ capital: 'Saint-Denis',
+ languages: ['French'],
+ population: 840974,
+ flag: 'https://restcountries.eu/data/reu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Romania',
+ capital: 'Bucharest',
+ languages: ['Romanian'],
+ population: 19861408,
+ flag: 'https://restcountries.eu/data/rou.svg',
+ currency: 'Romanian leu'
+ },
+ {
+ name: 'Russian Federation',
+ capital: 'Moscow',
+ languages: ['Russian'],
+ population: 146599183,
+ flag: 'https://restcountries.eu/data/rus.svg',
+ currency: 'Russian ruble'
+ },
+ {
+ name: 'Rwanda',
+ capital: 'Kigali',
+ languages: ['Kinyarwanda', 'English', 'French'],
+ population: 11553188,
+ flag: 'https://restcountries.eu/data/rwa.svg',
+ currency: 'Rwandan franc'
+ },
+ {
+ name: 'Saint Barthélemy',
+ capital: 'Gustavia',
+ languages: ['French'],
+ population: 9417,
+ flag: 'https://restcountries.eu/data/blm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Helena, Ascension and Tristan da Cunha',
+ capital: 'Jamestown',
+ languages: ['English'],
+ population: 4255,
+ flag: 'https://restcountries.eu/data/shn.svg',
+ currency: 'Saint Helena pound'
+ },
+ {
+ name: 'Saint Kitts and Nevis',
+ capital: 'Basseterre',
+ languages: ['English'],
+ population: 46204,
+ flag: 'https://restcountries.eu/data/kna.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Lucia',
+ capital: 'Castries',
+ languages: ['English'],
+ population: 186000,
+ flag: 'https://restcountries.eu/data/lca.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Martin (French part)',
+ capital: 'Marigot',
+ languages: ['English', 'French', 'Dutch'],
+ population: 36979,
+ flag: 'https://restcountries.eu/data/maf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Pierre and Miquelon',
+ capital: 'Saint-Pierre',
+ languages: ['French'],
+ population: 6069,
+ flag: 'https://restcountries.eu/data/spm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Vincent and the Grenadines',
+ capital: 'Kingstown',
+ languages: ['English'],
+ population: 109991,
+ flag: 'https://restcountries.eu/data/vct.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Samoa',
+ capital: 'Apia',
+ languages: ['Samoan', 'English'],
+ population: 194899,
+ flag: 'https://restcountries.eu/data/wsm.svg',
+ currency: 'Samoan tÄlÄ'
+ },
+ {
+ name: 'San Marino',
+ capital: 'City of San Marino',
+ languages: ['Italian'],
+ population: 33005,
+ flag: 'https://restcountries.eu/data/smr.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sao Tome and Principe',
+ capital: 'São Tomé',
+ languages: ['Portuguese'],
+ population: 187356,
+ flag: 'https://restcountries.eu/data/stp.svg',
+ currency: 'SĂŁo TomĂ© and PrĂncipe dobra'
+ },
+ {
+ name: 'Saudi Arabia',
+ capital: 'Riyadh',
+ languages: ['Arabic'],
+ population: 32248200,
+ flag: 'https://restcountries.eu/data/sau.svg',
+ currency: 'Saudi riyal'
+ },
+ {
+ name: 'Senegal',
+ capital: 'Dakar',
+ languages: ['French'],
+ population: 14799859,
+ flag: 'https://restcountries.eu/data/sen.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Serbia',
+ capital: 'Belgrade',
+ languages: ['Serbian'],
+ population: 7076372,
+ flag: 'https://restcountries.eu/data/srb.svg',
+ currency: 'Serbian dinar'
+ },
+ {
+ name: 'Seychelles',
+ capital: 'Victoria',
+ languages: ['French', 'English'],
+ population: 91400,
+ flag: 'https://restcountries.eu/data/syc.svg',
+ currency: 'Seychellois rupee'
+ },
+ {
+ name: 'Sierra Leone',
+ capital: 'Freetown',
+ languages: ['English'],
+ population: 7075641,
+ flag: 'https://restcountries.eu/data/sle.svg',
+ currency: 'Sierra Leonean leone'
+ },
+ {
+ name: 'Singapore',
+ capital: 'Singapore',
+ languages: ['English', 'Malay', 'Tamil', 'Chinese'],
+ population: 5535000,
+ flag: 'https://restcountries.eu/data/sgp.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Sint Maarten (Dutch part)',
+ capital: 'Philipsburg',
+ languages: ['Dutch', 'English'],
+ population: 38247,
+ flag: 'https://restcountries.eu/data/sxm.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Slovakia',
+ capital: 'Bratislava',
+ languages: ['Slovak'],
+ population: 5426252,
+ flag: 'https://restcountries.eu/data/svk.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Slovenia',
+ capital: 'Ljubljana',
+ languages: ['Slovene'],
+ population: 2064188,
+ flag: 'https://restcountries.eu/data/svn.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Solomon Islands',
+ capital: 'Honiara',
+ languages: ['English'],
+ population: 642000,
+ flag: 'https://restcountries.eu/data/slb.svg',
+ currency: 'Solomon Islands dollar'
+ },
+ {
+ name: 'Somalia',
+ capital: 'Mogadishu',
+ languages: ['Somali', 'Arabic'],
+ population: 11079000,
+ flag: 'https://restcountries.eu/data/som.svg',
+ currency: 'Somali shilling'
+ },
+ {
+ name: 'South Africa',
+ capital: 'Pretoria',
+ languages: [
+ 'Afrikaans',
+ 'English',
+ 'Southern Ndebele',
+ 'Southern Sotho',
+ 'Swati',
+ 'Tswana',
+ 'Tsonga',
+ 'Venda',
+ 'Xhosa',
+ 'Zulu'
+ ],
+ population: 55653654,
+ flag: 'https://restcountries.eu/data/zaf.svg',
+ currency: 'South African rand'
+ },
+ {
+ name: 'South Georgia and the South Sandwich Islands',
+ capital: 'King Edward Point',
+ languages: ['English'],
+ population: 30,
+ flag: 'https://restcountries.eu/data/sgs.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Korea (Republic of)',
+ capital: 'Seoul',
+ languages: ['Korean'],
+ population: 50801405,
+ flag: 'https://restcountries.eu/data/kor.svg',
+ currency: 'South Korean won'
+ },
+ {
+ name: 'South Sudan',
+ capital: 'Juba',
+ languages: ['English'],
+ population: 12131000,
+ flag: 'https://restcountries.eu/data/ssd.svg',
+ currency: 'South Sudanese pound'
+ },
+ {
+ name: 'Spain',
+ capital: 'Madrid',
+ languages: ['Spanish'],
+ population: 46438422,
+ flag: 'https://restcountries.eu/data/esp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sri Lanka',
+ capital: 'Colombo',
+ languages: ['Sinhalese', 'Tamil'],
+ population: 20966000,
+ flag: 'https://restcountries.eu/data/lka.svg',
+ currency: 'Sri Lankan rupee'
+ },
+ {
+ name: 'Sudan',
+ capital: 'Khartoum',
+ languages: ['Arabic', 'English'],
+ population: 39598700,
+ flag: 'https://restcountries.eu/data/sdn.svg',
+ currency: 'Sudanese pound'
+ },
+ {
+ name: 'Suriname',
+ capital: 'Paramaribo',
+ languages: ['Dutch'],
+ population: 541638,
+ flag: 'https://restcountries.eu/data/sur.svg',
+ currency: 'Surinamese dollar'
+ },
+ {
+ name: 'Svalbard and Jan Mayen',
+ capital: 'Longyearbyen',
+ languages: ['Norwegian'],
+ population: 2562,
+ flag: 'https://restcountries.eu/data/sjm.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Swaziland',
+ capital: 'Lobamba',
+ languages: ['English', 'Swati'],
+ population: 1132657,
+ flag: 'https://restcountries.eu/data/swz.svg',
+ currency: 'Swazi lilangeni'
+ },
+ {
+ name: 'Sweden',
+ capital: 'Stockholm',
+ languages: ['Swedish'],
+ population: 9894888,
+ flag: 'https://restcountries.eu/data/swe.svg',
+ currency: 'Swedish krona'
+ },
+ {
+ name: 'Switzerland',
+ capital: 'Bern',
+ languages: ['German', 'French', 'Italian'],
+ population: 8341600,
+ flag: 'https://restcountries.eu/data/che.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Syrian Arab Republic',
+ capital: 'Damascus',
+ languages: ['Arabic'],
+ population: 18564000,
+ flag: 'https://restcountries.eu/data/syr.svg',
+ currency: 'Syrian pound'
+ },
+ {
+ name: 'Taiwan',
+ capital: 'Taipei',
+ languages: ['Chinese'],
+ population: 23503349,
+ flag: 'https://restcountries.eu/data/twn.svg',
+ currency: 'New Taiwan dollar'
+ },
+ {
+ name: 'Tajikistan',
+ capital: 'Dushanbe',
+ languages: ['Tajik', 'Russian'],
+ population: 8593600,
+ flag: 'https://restcountries.eu/data/tjk.svg',
+ currency: 'Tajikistani somoni'
+ },
+ {
+ name: 'Tanzania, United Republic of',
+ capital: 'Dodoma',
+ languages: ['Swahili', 'English'],
+ population: 55155000,
+ flag: 'https://restcountries.eu/data/tza.svg',
+ currency: 'Tanzanian shilling'
+ },
+ {
+ name: 'Thailand',
+ capital: 'Bangkok',
+ languages: ['Thai'],
+ population: 65327652,
+ flag: 'https://restcountries.eu/data/tha.svg',
+ currency: 'Thai baht'
+ },
+ {
+ name: 'Timor-Leste',
+ capital: 'Dili',
+ languages: ['Portuguese'],
+ population: 1167242,
+ flag: 'https://restcountries.eu/data/tls.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Togo',
+ capital: 'Lomé',
+ languages: ['French'],
+ population: 7143000,
+ flag: 'https://restcountries.eu/data/tgo.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Tokelau',
+ capital: 'Fakaofo',
+ languages: ['English'],
+ population: 1411,
+ flag: 'https://restcountries.eu/data/tkl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Tonga',
+ capital: "Nuku'alofa",
+ languages: ['English', 'Tonga (Tonga Islands)'],
+ population: 103252,
+ flag: 'https://restcountries.eu/data/ton.svg',
+ currency: 'Tongan paʻanga'
+ },
+ {
+ name: 'Trinidad and Tobago',
+ capital: 'Port of Spain',
+ languages: ['English'],
+ population: 1349667,
+ flag: 'https://restcountries.eu/data/tto.svg',
+ currency: 'Trinidad and Tobago dollar'
+ },
+ {
+ name: 'Tunisia',
+ capital: 'Tunis',
+ languages: ['Arabic'],
+ population: 11154400,
+ flag: 'https://restcountries.eu/data/tun.svg',
+ currency: 'Tunisian dinar'
+ },
+ {
+ name: 'Turkey',
+ capital: 'Ankara',
+ languages: ['Turkish'],
+ population: 78741053,
+ flag: 'https://restcountries.eu/data/tur.svg',
+ currency: 'Turkish lira'
+ },
+ {
+ name: 'Turkmenistan',
+ capital: 'Ashgabat',
+ languages: ['Turkmen', 'Russian'],
+ population: 4751120,
+ flag: 'https://restcountries.eu/data/tkm.svg',
+ currency: 'Turkmenistan manat'
+ },
+ {
+ name: 'Turks and Caicos Islands',
+ capital: 'Cockburn Town',
+ languages: ['English'],
+ population: 31458,
+ flag: 'https://restcountries.eu/data/tca.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Tuvalu',
+ capital: 'Funafuti',
+ languages: ['English'],
+ population: 10640,
+ flag: 'https://restcountries.eu/data/tuv.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Uganda',
+ capital: 'Kampala',
+ languages: ['English', 'Swahili'],
+ population: 33860700,
+ flag: 'https://restcountries.eu/data/uga.svg',
+ currency: 'Ugandan shilling'
+ },
+ {
+ name: 'Ukraine',
+ capital: 'Kiev',
+ languages: ['Ukrainian'],
+ population: 42692393,
+ flag: 'https://restcountries.eu/data/ukr.svg',
+ currency: 'Ukrainian hryvnia'
+ },
+ {
+ name: 'United Arab Emirates',
+ capital: 'Abu Dhabi',
+ languages: ['Arabic'],
+ population: 9856000,
+ flag: 'https://restcountries.eu/data/are.svg',
+ currency: 'United Arab Emirates dirham'
+ },
+ {
+ name: 'United Kingdom of Great Britain and Northern Ireland',
+ capital: 'London',
+ languages: ['English'],
+ population: 65110000,
+ flag: 'https://restcountries.eu/data/gbr.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'United States of America',
+ capital: 'Washington, D.C.',
+ languages: ['English'],
+ population: 323947000,
+ flag: 'https://restcountries.eu/data/usa.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Uruguay',
+ capital: 'Montevideo',
+ languages: ['Spanish'],
+ population: 3480222,
+ flag: 'https://restcountries.eu/data/ury.svg',
+ currency: 'Uruguayan peso'
+ },
+ {
+ name: 'Uzbekistan',
+ capital: 'Tashkent',
+ languages: ['Uzbek', 'Russian'],
+ population: 31576400,
+ flag: 'https://restcountries.eu/data/uzb.svg',
+ currency: "Uzbekistani so'm"
+ },
+ {
+ name: 'Vanuatu',
+ capital: 'Port Vila',
+ languages: ['Bislama', 'English', 'French'],
+ population: 277500,
+ flag: 'https://restcountries.eu/data/vut.svg',
+ currency: 'Vanuatu vatu'
+ },
+ {
+ name: 'Venezuela (Bolivarian Republic of)',
+ capital: 'Caracas',
+ languages: ['Spanish'],
+ population: 31028700,
+ flag: 'https://restcountries.eu/data/ven.svg',
+ currency: 'Venezuelan bolĂvar'
+ },
+ {
+ name: 'Viet Nam',
+ capital: 'Hanoi',
+ languages: ['Vietnamese'],
+ population: 92700000,
+ flag: 'https://restcountries.eu/data/vnm.svg',
+ currency: 'Vietnamese Äá»ng'
+ },
+ {
+ name: 'Wallis and Futuna',
+ capital: 'Mata-Utu',
+ languages: ['French'],
+ population: 11750,
+ flag: 'https://restcountries.eu/data/wlf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'Western Sahara',
+ capital: 'El AaiĂșn',
+ languages: ['Spanish'],
+ population: 510713,
+ flag: 'https://restcountries.eu/data/esh.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Yemen',
+ capital: "Sana'a",
+ languages: ['Arabic'],
+ population: 27478000,
+ flag: 'https://restcountries.eu/data/yem.svg',
+ currency: 'Yemeni rial'
+ },
+ {
+ name: 'Zambia',
+ capital: 'Lusaka',
+ languages: ['English'],
+ population: 15933883,
+ flag: 'https://restcountries.eu/data/zmb.svg',
+ currency: 'Zambian kwacha'
+ },
+ {
+ name: 'Zimbabwe',
+ capital: 'Harare',
+ languages: ['English', 'Shona', 'Northern Ndebele'],
+ population: 14240168,
+ flag: 'https://restcountries.eu/data/zwe.svg',
+ currency: 'Botswana pula'
+ }
+]
diff --git a/16_Day/16_day_starter/index.html b/16_Day/16_day_starter/index.html
new file mode 100644
index 0000000..53d732a
--- /dev/null
+++ b/16_Day/16_day_starter/index.html
@@ -0,0 +1,17 @@
+
+
+
+
+ 30DaysOfJavaScript:16 Day
+
+
+
+ 30DaysOfJavaScript:16 Day
+ JSON
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/16_Day/16_day_starter/scripts/main.js b/16_Day/16_day_starter/scripts/main.js
new file mode 100644
index 0000000..c6045c8
--- /dev/null
+++ b/16_Day/16_day_starter/scripts/main.js
@@ -0,0 +1,2 @@
+console.log(countries)
+alert('Open the console and check if the countries has been loaded')
\ No newline at end of file
diff --git a/17_Day/17_day_starter/data/countries_data.js b/17_Day/17_day_starter/data/countries_data.js
new file mode 100644
index 0000000..92acddd
--- /dev/null
+++ b/17_Day/17_day_starter/data/countries_data.js
@@ -0,0 +1,2013 @@
+const countries = [
+ {
+ name: 'Afghanistan',
+ capital: 'Kabul',
+ languages: ['Pashto', 'Uzbek', 'Turkmen'],
+ population: 27657145,
+ flag: 'https://restcountries.eu/data/afg.svg',
+ currency: 'Afghan afghani'
+ },
+ {
+ name: 'Ă
land Islands',
+ capital: 'Mariehamn',
+ languages: ['Swedish'],
+ population: 28875,
+ flag: 'https://restcountries.eu/data/ala.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Albania',
+ capital: 'Tirana',
+ languages: ['Albanian'],
+ population: 2886026,
+ flag: 'https://restcountries.eu/data/alb.svg',
+ currency: 'Albanian lek'
+ },
+ {
+ name: 'Algeria',
+ capital: 'Algiers',
+ languages: ['Arabic'],
+ population: 40400000,
+ flag: 'https://restcountries.eu/data/dza.svg',
+ currency: 'Algerian dinar'
+ },
+ {
+ name: 'American Samoa',
+ capital: 'Pago Pago',
+ languages: ['English', 'Samoan'],
+ population: 57100,
+ flag: 'https://restcountries.eu/data/asm.svg',
+ currency: 'United State Dollar'
+ },
+ {
+ name: 'Andorra',
+ capital: 'Andorra la Vella',
+ languages: ['Catalan'],
+ population: 78014,
+ flag: 'https://restcountries.eu/data/and.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Angola',
+ capital: 'Luanda',
+ languages: ['Portuguese'],
+ population: 25868000,
+ flag: 'https://restcountries.eu/data/ago.svg',
+ currency: 'Angolan kwanza'
+ },
+ {
+ name: 'Anguilla',
+ capital: 'The Valley',
+ languages: ['English'],
+ population: 13452,
+ flag: 'https://restcountries.eu/data/aia.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Antarctica',
+ capital: '',
+ languages: ['English', 'Russian'],
+ population: 1000,
+ flag: 'https://restcountries.eu/data/ata.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Antigua and Barbuda',
+ capital: "Saint John's",
+ languages: ['English'],
+ population: 86295,
+ flag: 'https://restcountries.eu/data/atg.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Argentina',
+ capital: 'Buenos Aires',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 43590400,
+ flag: 'https://restcountries.eu/data/arg.svg',
+ currency: 'Argentine peso'
+ },
+ {
+ name: 'Armenia',
+ capital: 'Yerevan',
+ languages: ['Armenian', 'Russian'],
+ population: 2994400,
+ flag: 'https://restcountries.eu/data/arm.svg',
+ currency: 'Armenian dram'
+ },
+ {
+ name: 'Aruba',
+ capital: 'Oranjestad',
+ languages: ['Dutch', '(Eastern) Punjabi'],
+ population: 107394,
+ flag: 'https://restcountries.eu/data/abw.svg',
+ currency: 'Aruban florin'
+ },
+ {
+ name: 'Australia',
+ capital: 'Canberra',
+ languages: ['English'],
+ population: 24117360,
+ flag: 'https://restcountries.eu/data/aus.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Austria',
+ capital: 'Vienna',
+ languages: ['German'],
+ population: 8725931,
+ flag: 'https://restcountries.eu/data/aut.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Azerbaijan',
+ capital: 'Baku',
+ languages: ['Azerbaijani'],
+ population: 9730500,
+ flag: 'https://restcountries.eu/data/aze.svg',
+ currency: 'Azerbaijani manat'
+ },
+ {
+ name: 'Bahamas',
+ capital: 'Nassau',
+ languages: ['English'],
+ population: 378040,
+ flag: 'https://restcountries.eu/data/bhs.svg',
+ currency: 'Bahamian dollar'
+ },
+ {
+ name: 'Bahrain',
+ capital: 'Manama',
+ languages: ['Arabic'],
+ population: 1404900,
+ flag: 'https://restcountries.eu/data/bhr.svg',
+ currency: 'Bahraini dinar'
+ },
+ {
+ name: 'Bangladesh',
+ capital: 'Dhaka',
+ languages: ['Bengali'],
+ population: 161006790,
+ flag: 'https://restcountries.eu/data/bgd.svg',
+ currency: 'Bangladeshi taka'
+ },
+ {
+ name: 'Barbados',
+ capital: 'Bridgetown',
+ languages: ['English'],
+ population: 285000,
+ flag: 'https://restcountries.eu/data/brb.svg',
+ currency: 'Barbadian dollar'
+ },
+ {
+ name: 'Belarus',
+ capital: 'Minsk',
+ languages: ['Belarusian', 'Russian'],
+ population: 9498700,
+ flag: 'https://restcountries.eu/data/blr.svg',
+ currency: 'New Belarusian ruble'
+ },
+ {
+ name: 'Belgium',
+ capital: 'Brussels',
+ languages: ['Dutch', 'French', 'German'],
+ population: 11319511,
+ flag: 'https://restcountries.eu/data/bel.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Belize',
+ capital: 'Belmopan',
+ languages: ['English', 'Spanish'],
+ population: 370300,
+ flag: 'https://restcountries.eu/data/blz.svg',
+ currency: 'Belize dollar'
+ },
+ {
+ name: 'Benin',
+ capital: 'Porto-Novo',
+ languages: ['French'],
+ population: 10653654,
+ flag: 'https://restcountries.eu/data/ben.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Bermuda',
+ capital: 'Hamilton',
+ languages: ['English'],
+ population: 61954,
+ flag: 'https://restcountries.eu/data/bmu.svg',
+ currency: 'Bermudian dollar'
+ },
+ {
+ name: 'Bhutan',
+ capital: 'Thimphu',
+ languages: ['Dzongkha'],
+ population: 775620,
+ flag: 'https://restcountries.eu/data/btn.svg',
+ currency: 'Bhutanese ngultrum'
+ },
+ {
+ name: 'Bolivia (Plurinational State of)',
+ capital: 'Sucre',
+ languages: ['Spanish', 'Aymara', 'Quechua'],
+ population: 10985059,
+ flag: 'https://restcountries.eu/data/bol.svg',
+ currency: 'Bolivian boliviano'
+ },
+ {
+ name: 'Bonaire, Sint Eustatius and Saba',
+ capital: 'Kralendijk',
+ languages: ['Dutch'],
+ population: 17408,
+ flag: 'https://restcountries.eu/data/bes.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Bosnia and Herzegovina',
+ capital: 'Sarajevo',
+ languages: ['Bosnian', 'Croatian', 'Serbian'],
+ population: 3531159,
+ flag: 'https://restcountries.eu/data/bih.svg',
+ currency: 'Bosnia and Herzegovina convertible mark'
+ },
+ {
+ name: 'Botswana',
+ capital: 'Gaborone',
+ languages: ['English', 'Tswana'],
+ population: 2141206,
+ flag: 'https://restcountries.eu/data/bwa.svg',
+ currency: 'Botswana pula'
+ },
+ {
+ name: 'Bouvet Island',
+ capital: '',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/bvt.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Brazil',
+ capital: 'BrasĂlia',
+ languages: ['Portuguese'],
+ population: 206135893,
+ flag: 'https://restcountries.eu/data/bra.svg',
+ currency: 'Brazilian real'
+ },
+ {
+ name: 'British Indian Ocean Territory',
+ capital: 'Diego Garcia',
+ languages: ['English'],
+ population: 3000,
+ flag: 'https://restcountries.eu/data/iot.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'United States Minor Outlying Islands',
+ capital: '',
+ languages: ['English'],
+ population: 300,
+ flag: 'https://restcountries.eu/data/umi.svg',
+ currency: 'United States Dollar'
+ },
+ {
+ name: 'Virgin Islands (British)',
+ capital: 'Road Town',
+ languages: ['English'],
+ population: 28514,
+ flag: 'https://restcountries.eu/data/vgb.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Virgin Islands (U.S.)',
+ capital: 'Charlotte Amalie',
+ languages: ['English'],
+ population: 114743,
+ flag: 'https://restcountries.eu/data/vir.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Brunei Darussalam',
+ capital: 'Bandar Seri Begawan',
+ languages: ['Malay'],
+ population: 411900,
+ flag: 'https://restcountries.eu/data/brn.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Bulgaria',
+ capital: 'Sofia',
+ languages: ['Bulgarian'],
+ population: 7153784,
+ flag: 'https://restcountries.eu/data/bgr.svg',
+ currency: 'Bulgarian lev'
+ },
+ {
+ name: 'Burkina Faso',
+ capital: 'Ouagadougou',
+ languages: ['French', 'Fula'],
+ population: 19034397,
+ flag: 'https://restcountries.eu/data/bfa.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Burundi',
+ capital: 'Bujumbura',
+ languages: ['French', 'Kirundi'],
+ population: 10114505,
+ flag: 'https://restcountries.eu/data/bdi.svg',
+ currency: 'Burundian franc'
+ },
+ {
+ name: 'Cambodia',
+ capital: 'Phnom Penh',
+ languages: ['Khmer'],
+ population: 15626444,
+ flag: 'https://restcountries.eu/data/khm.svg',
+ currency: 'Cambodian riel'
+ },
+ {
+ name: 'Cameroon',
+ capital: 'Yaoundé',
+ languages: ['English', 'French'],
+ population: 22709892,
+ flag: 'https://restcountries.eu/data/cmr.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Canada',
+ capital: 'Ottawa',
+ languages: ['English', 'French'],
+ population: 36155487,
+ flag: 'https://restcountries.eu/data/can.svg',
+ currency: 'Canadian dollar'
+ },
+ {
+ name: 'Cabo Verde',
+ capital: 'Praia',
+ languages: ['Portuguese'],
+ population: 531239,
+ flag: 'https://restcountries.eu/data/cpv.svg',
+ currency: 'Cape Verdean escudo'
+ },
+ {
+ name: 'Cayman Islands',
+ capital: 'George Town',
+ languages: ['English'],
+ population: 58238,
+ flag: 'https://restcountries.eu/data/cym.svg',
+ currency: 'Cayman Islands dollar'
+ },
+ {
+ name: 'Central African Republic',
+ capital: 'Bangui',
+ languages: ['French', 'Sango'],
+ population: 4998000,
+ flag: 'https://restcountries.eu/data/caf.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chad',
+ capital: "N'Djamena",
+ languages: ['French', 'Arabic'],
+ population: 14497000,
+ flag: 'https://restcountries.eu/data/tcd.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Chile',
+ capital: 'Santiago',
+ languages: ['Spanish'],
+ population: 18191900,
+ flag: 'https://restcountries.eu/data/chl.svg',
+ currency: 'Chilean peso'
+ },
+ {
+ name: 'China',
+ capital: 'Beijing',
+ languages: ['Chinese'],
+ population: 1377422166,
+ flag: 'https://restcountries.eu/data/chn.svg',
+ currency: 'Chinese yuan'
+ },
+ {
+ name: 'Christmas Island',
+ capital: 'Flying Fish Cove',
+ languages: ['English'],
+ population: 2072,
+ flag: 'https://restcountries.eu/data/cxr.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Cocos (Keeling) Islands',
+ capital: 'West Island',
+ languages: ['English'],
+ population: 550,
+ flag: 'https://restcountries.eu/data/cck.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Colombia',
+ capital: 'BogotĂĄ',
+ languages: ['Spanish'],
+ population: 48759958,
+ flag: 'https://restcountries.eu/data/col.svg',
+ currency: 'Colombian peso'
+ },
+ {
+ name: 'Comoros',
+ capital: 'Moroni',
+ languages: ['Arabic', 'French'],
+ population: 806153,
+ flag: 'https://restcountries.eu/data/com.svg',
+ currency: 'Comorian franc'
+ },
+ {
+ name: 'Congo',
+ capital: 'Brazzaville',
+ languages: ['French', 'Lingala'],
+ population: 4741000,
+ flag: 'https://restcountries.eu/data/cog.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Congo (Democratic Republic of the)',
+ capital: 'Kinshasa',
+ languages: ['French', 'Lingala', 'Kongo', 'Swahili', 'Luba-Katanga'],
+ population: 85026000,
+ flag: 'https://restcountries.eu/data/cod.svg',
+ currency: 'Congolese franc'
+ },
+ {
+ name: 'Cook Islands',
+ capital: 'Avarua',
+ languages: ['English'],
+ population: 18100,
+ flag: 'https://restcountries.eu/data/cok.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Costa Rica',
+ capital: 'San José',
+ languages: ['Spanish'],
+ population: 4890379,
+ flag: 'https://restcountries.eu/data/cri.svg',
+ currency: 'Costa Rican colĂłn'
+ },
+ {
+ name: 'Croatia',
+ capital: 'Zagreb',
+ languages: ['Croatian'],
+ population: 4190669,
+ flag: 'https://restcountries.eu/data/hrv.svg',
+ currency: 'Croatian kuna'
+ },
+ {
+ name: 'Cuba',
+ capital: 'Havana',
+ languages: ['Spanish'],
+ population: 11239004,
+ flag: 'https://restcountries.eu/data/cub.svg',
+ currency: 'Cuban convertible peso'
+ },
+ {
+ name: 'Curaçao',
+ capital: 'Willemstad',
+ languages: ['Dutch', '(Eastern) Punjabi', 'English'],
+ population: 154843,
+ flag: 'https://restcountries.eu/data/cuw.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Cyprus',
+ capital: 'Nicosia',
+ languages: ['Greek (modern)', 'Turkish', 'Armenian'],
+ population: 847000,
+ flag: 'https://restcountries.eu/data/cyp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Czech Republic',
+ capital: 'Prague',
+ languages: ['Czech', 'Slovak'],
+ population: 10558524,
+ flag: 'https://restcountries.eu/data/cze.svg',
+ currency: 'Czech koruna'
+ },
+ {
+ name: 'Denmark',
+ capital: 'Copenhagen',
+ languages: ['Danish'],
+ population: 5717014,
+ flag: 'https://restcountries.eu/data/dnk.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Djibouti',
+ capital: 'Djibouti',
+ languages: ['French', 'Arabic'],
+ population: 900000,
+ flag: 'https://restcountries.eu/data/dji.svg',
+ currency: 'Djiboutian franc'
+ },
+ {
+ name: 'Dominica',
+ capital: 'Roseau',
+ languages: ['English'],
+ population: 71293,
+ flag: 'https://restcountries.eu/data/dma.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Dominican Republic',
+ capital: 'Santo Domingo',
+ languages: ['Spanish'],
+ population: 10075045,
+ flag: 'https://restcountries.eu/data/dom.svg',
+ currency: 'Dominican peso'
+ },
+ {
+ name: 'Ecuador',
+ capital: 'Quito',
+ languages: ['Spanish'],
+ population: 16545799,
+ flag: 'https://restcountries.eu/data/ecu.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Egypt',
+ capital: 'Cairo',
+ languages: ['Arabic'],
+ population: 91290000,
+ flag: 'https://restcountries.eu/data/egy.svg',
+ currency: 'Egyptian pound'
+ },
+ {
+ name: 'El Salvador',
+ capital: 'San Salvador',
+ languages: ['Spanish'],
+ population: 6520675,
+ flag: 'https://restcountries.eu/data/slv.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Equatorial Guinea',
+ capital: 'Malabo',
+ languages: ['Spanish', 'French'],
+ population: 1222442,
+ flag: 'https://restcountries.eu/data/gnq.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Eritrea',
+ capital: 'Asmara',
+ languages: ['Tigrinya', 'Arabic', 'English'],
+ population: 5352000,
+ flag: 'https://restcountries.eu/data/eri.svg',
+ currency: 'Eritrean nakfa'
+ },
+ {
+ name: 'Estonia',
+ capital: 'Tallinn',
+ languages: ['Estonian'],
+ population: 1315944,
+ flag: 'https://restcountries.eu/data/est.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ethiopia',
+ capital: 'Addis Ababa',
+ languages: ['Amharic'],
+ population: 92206005,
+ flag: 'https://restcountries.eu/data/eth.svg',
+ currency: 'Ethiopian birr'
+ },
+ {
+ name: 'Falkland Islands (Malvinas)',
+ capital: 'Stanley',
+ languages: ['English'],
+ population: 2563,
+ flag: 'https://restcountries.eu/data/flk.svg',
+ currency: 'Falkland Islands pound'
+ },
+ {
+ name: 'Faroe Islands',
+ capital: 'TĂłrshavn',
+ languages: ['Faroese'],
+ population: 49376,
+ flag: 'https://restcountries.eu/data/fro.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Fiji',
+ capital: 'Suva',
+ languages: ['English', 'Fijian', 'Hindi', 'Urdu'],
+ population: 867000,
+ flag: 'https://restcountries.eu/data/fji.svg',
+ currency: 'Fijian dollar'
+ },
+ {
+ name: 'Finland',
+ capital: 'Helsinki',
+ languages: ['Finnish', 'Swedish'],
+ population: 5491817,
+ flag: 'https://restcountries.eu/data/fin.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'France',
+ capital: 'Paris',
+ languages: ['French'],
+ population: 66710000,
+ flag: 'https://restcountries.eu/data/fra.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Guiana',
+ capital: 'Cayenne',
+ languages: ['French'],
+ population: 254541,
+ flag: 'https://restcountries.eu/data/guf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'French Polynesia',
+ capital: 'PapeetÄ',
+ languages: ['French'],
+ population: 271800,
+ flag: 'https://restcountries.eu/data/pyf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'French Southern Territories',
+ capital: 'Port-aux-Français',
+ languages: ['French'],
+ population: 140,
+ flag: 'https://restcountries.eu/data/atf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Gabon',
+ capital: 'Libreville',
+ languages: ['French'],
+ population: 1802278,
+ flag: 'https://restcountries.eu/data/gab.svg',
+ currency: 'Central African CFA franc'
+ },
+ {
+ name: 'Gambia',
+ capital: 'Banjul',
+ languages: ['English'],
+ population: 1882450,
+ flag: 'https://restcountries.eu/data/gmb.svg',
+ currency: 'Gambian dalasi'
+ },
+ {
+ name: 'Georgia',
+ capital: 'Tbilisi',
+ languages: ['Georgian'],
+ population: 3720400,
+ flag: 'https://restcountries.eu/data/geo.svg',
+ currency: 'Georgian Lari'
+ },
+ {
+ name: 'Germany',
+ capital: 'Berlin',
+ languages: ['German'],
+ population: 81770900,
+ flag: 'https://restcountries.eu/data/deu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Ghana',
+ capital: 'Accra',
+ languages: ['English'],
+ population: 27670174,
+ flag: 'https://restcountries.eu/data/gha.svg',
+ currency: 'Ghanaian cedi'
+ },
+ {
+ name: 'Gibraltar',
+ capital: 'Gibraltar',
+ languages: ['English'],
+ population: 33140,
+ flag: 'https://restcountries.eu/data/gib.svg',
+ currency: 'Gibraltar pound'
+ },
+ {
+ name: 'Greece',
+ capital: 'Athens',
+ languages: ['Greek (modern)'],
+ population: 10858018,
+ flag: 'https://restcountries.eu/data/grc.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Greenland',
+ capital: 'Nuuk',
+ languages: ['Kalaallisut'],
+ population: 55847,
+ flag: 'https://restcountries.eu/data/grl.svg',
+ currency: 'Danish krone'
+ },
+ {
+ name: 'Grenada',
+ capital: "St. George's",
+ languages: ['English'],
+ population: 103328,
+ flag: 'https://restcountries.eu/data/grd.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Guadeloupe',
+ capital: 'Basse-Terre',
+ languages: ['French'],
+ population: 400132,
+ flag: 'https://restcountries.eu/data/glp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Guam',
+ capital: 'HagÄtña',
+ languages: ['English', 'Chamorro', 'Spanish'],
+ population: 184200,
+ flag: 'https://restcountries.eu/data/gum.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Guatemala',
+ capital: 'Guatemala City',
+ languages: ['Spanish'],
+ population: 16176133,
+ flag: 'https://restcountries.eu/data/gtm.svg',
+ currency: 'Guatemalan quetzal'
+ },
+ {
+ name: 'Guernsey',
+ capital: 'St. Peter Port',
+ languages: ['English', 'French'],
+ population: 62999,
+ flag: 'https://restcountries.eu/data/ggy.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Guinea',
+ capital: 'Conakry',
+ languages: ['French', 'Fula'],
+ population: 12947000,
+ flag: 'https://restcountries.eu/data/gin.svg',
+ currency: 'Guinean franc'
+ },
+ {
+ name: 'Guinea-Bissau',
+ capital: 'Bissau',
+ languages: ['Portuguese'],
+ population: 1547777,
+ flag: 'https://restcountries.eu/data/gnb.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Guyana',
+ capital: 'Georgetown',
+ languages: ['English'],
+ population: 746900,
+ flag: 'https://restcountries.eu/data/guy.svg',
+ currency: 'Guyanese dollar'
+ },
+ {
+ name: 'Haiti',
+ capital: 'Port-au-Prince',
+ languages: ['French', 'Haitian'],
+ population: 11078033,
+ flag: 'https://restcountries.eu/data/hti.svg',
+ currency: 'Haitian gourde'
+ },
+ {
+ name: 'Heard Island and McDonald Islands',
+ capital: '',
+ languages: ['English'],
+ population: 0,
+ flag: 'https://restcountries.eu/data/hmd.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Holy See',
+ capital: 'Rome',
+ languages: ['Latin', 'Italian', 'French', 'German'],
+ population: 451,
+ flag: 'https://restcountries.eu/data/vat.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Honduras',
+ capital: 'Tegucigalpa',
+ languages: ['Spanish'],
+ population: 8576532,
+ flag: 'https://restcountries.eu/data/hnd.svg',
+ currency: 'Honduran lempira'
+ },
+ {
+ name: 'Hong Kong',
+ capital: 'City of Victoria',
+ languages: ['English', 'Chinese'],
+ population: 7324300,
+ flag: 'https://restcountries.eu/data/hkg.svg',
+ currency: 'Hong Kong dollar'
+ },
+ {
+ name: 'Hungary',
+ capital: 'Budapest',
+ languages: ['Hungarian'],
+ population: 9823000,
+ flag: 'https://restcountries.eu/data/hun.svg',
+ currency: 'Hungarian forint'
+ },
+ {
+ name: 'Iceland',
+ capital: 'ReykjavĂk',
+ languages: ['Icelandic'],
+ population: 334300,
+ flag: 'https://restcountries.eu/data/isl.svg',
+ currency: 'Icelandic krĂłna'
+ },
+ {
+ name: 'India',
+ capital: 'New Delhi',
+ languages: ['Hindi', 'English'],
+ population: 1295210000,
+ flag: 'https://restcountries.eu/data/ind.svg',
+ currency: 'Indian rupee'
+ },
+ {
+ name: 'Indonesia',
+ capital: 'Jakarta',
+ languages: ['Indonesian'],
+ population: 258705000,
+ flag: 'https://restcountries.eu/data/idn.svg',
+ currency: 'Indonesian rupiah'
+ },
+ {
+ name: "CĂŽte d'Ivoire",
+ capital: 'Yamoussoukro',
+ languages: ['French'],
+ population: 22671331,
+ flag: 'https://restcountries.eu/data/civ.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Iran (Islamic Republic of)',
+ capital: 'Tehran',
+ languages: ['Persian (Farsi)'],
+ population: 79369900,
+ flag: 'https://restcountries.eu/data/irn.svg',
+ currency: 'Iranian rial'
+ },
+ {
+ name: 'Iraq',
+ capital: 'Baghdad',
+ languages: ['Arabic', 'Kurdish'],
+ population: 37883543,
+ flag: 'https://restcountries.eu/data/irq.svg',
+ currency: 'Iraqi dinar'
+ },
+ {
+ name: 'Ireland',
+ capital: 'Dublin',
+ languages: ['Irish', 'English'],
+ population: 6378000,
+ flag: 'https://restcountries.eu/data/irl.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Isle of Man',
+ capital: 'Douglas',
+ languages: ['English', 'Manx'],
+ population: 84497,
+ flag: 'https://restcountries.eu/data/imn.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Israel',
+ capital: 'Jerusalem',
+ languages: ['Hebrew (modern)', 'Arabic'],
+ population: 8527400,
+ flag: 'https://restcountries.eu/data/isr.svg',
+ currency: 'Israeli new shekel'
+ },
+ {
+ name: 'Italy',
+ capital: 'Rome',
+ languages: ['Italian'],
+ population: 60665551,
+ flag: 'https://restcountries.eu/data/ita.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Jamaica',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2723246,
+ flag: 'https://restcountries.eu/data/jam.svg',
+ currency: 'Jamaican dollar'
+ },
+ {
+ name: 'Japan',
+ capital: 'Tokyo',
+ languages: ['Japanese'],
+ population: 126960000,
+ flag: 'https://restcountries.eu/data/jpn.svg',
+ currency: 'Japanese yen'
+ },
+ {
+ name: 'Jersey',
+ capital: 'Saint Helier',
+ languages: ['English', 'French'],
+ population: 100800,
+ flag: 'https://restcountries.eu/data/jey.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Jordan',
+ capital: 'Amman',
+ languages: ['Arabic'],
+ population: 9531712,
+ flag: 'https://restcountries.eu/data/jor.svg',
+ currency: 'Jordanian dinar'
+ },
+ {
+ name: 'Kazakhstan',
+ capital: 'Astana',
+ languages: ['Kazakh', 'Russian'],
+ population: 17753200,
+ flag: 'https://restcountries.eu/data/kaz.svg',
+ currency: 'Kazakhstani tenge'
+ },
+ {
+ name: 'Kenya',
+ capital: 'Nairobi',
+ languages: ['English', 'Swahili'],
+ population: 47251000,
+ flag: 'https://restcountries.eu/data/ken.svg',
+ currency: 'Kenyan shilling'
+ },
+ {
+ name: 'Kiribati',
+ capital: 'South Tarawa',
+ languages: ['English'],
+ population: 113400,
+ flag: 'https://restcountries.eu/data/kir.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Kuwait',
+ capital: 'Kuwait City',
+ languages: ['Arabic'],
+ population: 4183658,
+ flag: 'https://restcountries.eu/data/kwt.svg',
+ currency: 'Kuwaiti dinar'
+ },
+ {
+ name: 'Kyrgyzstan',
+ capital: 'Bishkek',
+ languages: ['Kyrgyz', 'Russian'],
+ population: 6047800,
+ flag: 'https://restcountries.eu/data/kgz.svg',
+ currency: 'Kyrgyzstani som'
+ },
+ {
+ name: "Lao People's Democratic Republic",
+ capital: 'Vientiane',
+ languages: ['Lao'],
+ population: 6492400,
+ flag: 'https://restcountries.eu/data/lao.svg',
+ currency: 'Lao kip'
+ },
+ {
+ name: 'Latvia',
+ capital: 'Riga',
+ languages: ['Latvian'],
+ population: 1961600,
+ flag: 'https://restcountries.eu/data/lva.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Lebanon',
+ capital: 'Beirut',
+ languages: ['Arabic', 'French'],
+ population: 5988000,
+ flag: 'https://restcountries.eu/data/lbn.svg',
+ currency: 'Lebanese pound'
+ },
+ {
+ name: 'Lesotho',
+ capital: 'Maseru',
+ languages: ['English', 'Southern Sotho'],
+ population: 1894194,
+ flag: 'https://restcountries.eu/data/lso.svg',
+ currency: 'Lesotho loti'
+ },
+ {
+ name: 'Liberia',
+ capital: 'Monrovia',
+ languages: ['English'],
+ population: 4615000,
+ flag: 'https://restcountries.eu/data/lbr.svg',
+ currency: 'Liberian dollar'
+ },
+ {
+ name: 'Libya',
+ capital: 'Tripoli',
+ languages: ['Arabic'],
+ population: 6385000,
+ flag: 'https://restcountries.eu/data/lby.svg',
+ currency: 'Libyan dinar'
+ },
+ {
+ name: 'Liechtenstein',
+ capital: 'Vaduz',
+ languages: ['German'],
+ population: 37623,
+ flag: 'https://restcountries.eu/data/lie.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Lithuania',
+ capital: 'Vilnius',
+ languages: ['Lithuanian'],
+ population: 2872294,
+ flag: 'https://restcountries.eu/data/ltu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Luxembourg',
+ capital: 'Luxembourg',
+ languages: ['French', 'German', 'Luxembourgish'],
+ population: 576200,
+ flag: 'https://restcountries.eu/data/lux.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Macao',
+ capital: '',
+ languages: ['Chinese', 'Portuguese'],
+ population: 649100,
+ flag: 'https://restcountries.eu/data/mac.svg',
+ currency: 'Macanese pataca'
+ },
+ {
+ name: 'Macedonia (the former Yugoslav Republic of)',
+ capital: 'Skopje',
+ languages: ['Macedonian'],
+ population: 2058539,
+ flag: 'https://restcountries.eu/data/mkd.svg',
+ currency: 'Macedonian denar'
+ },
+ {
+ name: 'Madagascar',
+ capital: 'Antananarivo',
+ languages: ['French', 'Malagasy'],
+ population: 22434363,
+ flag: 'https://restcountries.eu/data/mdg.svg',
+ currency: 'Malagasy ariary'
+ },
+ {
+ name: 'Malawi',
+ capital: 'Lilongwe',
+ languages: ['English', 'Chichewa'],
+ population: 16832910,
+ flag: 'https://restcountries.eu/data/mwi.svg',
+ currency: 'Malawian kwacha'
+ },
+ {
+ name: 'Malaysia',
+ capital: 'Kuala Lumpur',
+ languages: ['Malaysian'],
+ population: 31405416,
+ flag: 'https://restcountries.eu/data/mys.svg',
+ currency: 'Malaysian ringgit'
+ },
+ {
+ name: 'Maldives',
+ capital: 'Malé',
+ languages: ['Divehi'],
+ population: 344023,
+ flag: 'https://restcountries.eu/data/mdv.svg',
+ currency: 'Maldivian rufiyaa'
+ },
+ {
+ name: 'Mali',
+ capital: 'Bamako',
+ languages: ['French'],
+ population: 18135000,
+ flag: 'https://restcountries.eu/data/mli.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Malta',
+ capital: 'Valletta',
+ languages: ['Maltese', 'English'],
+ population: 425384,
+ flag: 'https://restcountries.eu/data/mlt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Marshall Islands',
+ capital: 'Majuro',
+ languages: ['English', 'Marshallese'],
+ population: 54880,
+ flag: 'https://restcountries.eu/data/mhl.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Martinique',
+ capital: 'Fort-de-France',
+ languages: ['French'],
+ population: 378243,
+ flag: 'https://restcountries.eu/data/mtq.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mauritania',
+ capital: 'Nouakchott',
+ languages: ['Arabic'],
+ population: 3718678,
+ flag: 'https://restcountries.eu/data/mrt.svg',
+ currency: 'Mauritanian ouguiya'
+ },
+ {
+ name: 'Mauritius',
+ capital: 'Port Louis',
+ languages: ['English'],
+ population: 1262879,
+ flag: 'https://restcountries.eu/data/mus.svg',
+ currency: 'Mauritian rupee'
+ },
+ {
+ name: 'Mayotte',
+ capital: 'Mamoudzou',
+ languages: ['French'],
+ population: 226915,
+ flag: 'https://restcountries.eu/data/myt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mexico',
+ capital: 'Mexico City',
+ languages: ['Spanish'],
+ population: 122273473,
+ flag: 'https://restcountries.eu/data/mex.svg',
+ currency: 'Mexican peso'
+ },
+ {
+ name: 'Micronesia (Federated States of)',
+ capital: 'Palikir',
+ languages: ['English'],
+ population: 102800,
+ flag: 'https://restcountries.eu/data/fsm.svg',
+ currency: '[D]'
+ },
+ {
+ name: 'Moldova (Republic of)',
+ capital: 'ChiÈinÄu',
+ languages: ['Romanian'],
+ population: 3553100,
+ flag: 'https://restcountries.eu/data/mda.svg',
+ currency: 'Moldovan leu'
+ },
+ {
+ name: 'Monaco',
+ capital: 'Monaco',
+ languages: ['French'],
+ population: 38400,
+ flag: 'https://restcountries.eu/data/mco.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Mongolia',
+ capital: 'Ulan Bator',
+ languages: ['Mongolian'],
+ population: 3093100,
+ flag: 'https://restcountries.eu/data/mng.svg',
+ currency: 'Mongolian tögrög'
+ },
+ {
+ name: 'Montenegro',
+ capital: 'Podgorica',
+ languages: ['Serbian', 'Bosnian', 'Albanian', 'Croatian'],
+ population: 621810,
+ flag: 'https://restcountries.eu/data/mne.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Montserrat',
+ capital: 'Plymouth',
+ languages: ['English'],
+ population: 4922,
+ flag: 'https://restcountries.eu/data/msr.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Morocco',
+ capital: 'Rabat',
+ languages: ['Arabic'],
+ population: 33337529,
+ flag: 'https://restcountries.eu/data/mar.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Mozambique',
+ capital: 'Maputo',
+ languages: ['Portuguese'],
+ population: 26423700,
+ flag: 'https://restcountries.eu/data/moz.svg',
+ currency: 'Mozambican metical'
+ },
+ {
+ name: 'Myanmar',
+ capital: 'Naypyidaw',
+ languages: ['Burmese'],
+ population: 51419420,
+ flag: 'https://restcountries.eu/data/mmr.svg',
+ currency: 'Burmese kyat'
+ },
+ {
+ name: 'Namibia',
+ capital: 'Windhoek',
+ languages: ['English', 'Afrikaans'],
+ population: 2324388,
+ flag: 'https://restcountries.eu/data/nam.svg',
+ currency: 'Namibian dollar'
+ },
+ {
+ name: 'Nauru',
+ capital: 'Yaren',
+ languages: ['English', 'Nauruan'],
+ population: 10084,
+ flag: 'https://restcountries.eu/data/nru.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Nepal',
+ capital: 'Kathmandu',
+ languages: ['Nepali'],
+ population: 28431500,
+ flag: 'https://restcountries.eu/data/npl.svg',
+ currency: 'Nepalese rupee'
+ },
+ {
+ name: 'Netherlands',
+ capital: 'Amsterdam',
+ languages: ['Dutch'],
+ population: 17019800,
+ flag: 'https://restcountries.eu/data/nld.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'New Caledonia',
+ capital: 'Nouméa',
+ languages: ['French'],
+ population: 268767,
+ flag: 'https://restcountries.eu/data/ncl.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'New Zealand',
+ capital: 'Wellington',
+ languages: ['English', 'MÄori'],
+ population: 4697854,
+ flag: 'https://restcountries.eu/data/nzl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Nicaragua',
+ capital: 'Managua',
+ languages: ['Spanish'],
+ population: 6262703,
+ flag: 'https://restcountries.eu/data/nic.svg',
+ currency: 'Nicaraguan cĂłrdoba'
+ },
+ {
+ name: 'Niger',
+ capital: 'Niamey',
+ languages: ['French'],
+ population: 20715000,
+ flag: 'https://restcountries.eu/data/ner.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Nigeria',
+ capital: 'Abuja',
+ languages: ['English'],
+ population: 186988000,
+ flag: 'https://restcountries.eu/data/nga.svg',
+ currency: 'Nigerian naira'
+ },
+ {
+ name: 'Niue',
+ capital: 'Alofi',
+ languages: ['English'],
+ population: 1470,
+ flag: 'https://restcountries.eu/data/niu.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Norfolk Island',
+ capital: 'Kingston',
+ languages: ['English'],
+ population: 2302,
+ flag: 'https://restcountries.eu/data/nfk.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: "Korea (Democratic People's Republic of)",
+ capital: 'Pyongyang',
+ languages: ['Korean'],
+ population: 25281000,
+ flag: 'https://restcountries.eu/data/prk.svg',
+ currency: 'North Korean won'
+ },
+ {
+ name: 'Northern Mariana Islands',
+ capital: 'Saipan',
+ languages: ['English', 'Chamorro'],
+ population: 56940,
+ flag: 'https://restcountries.eu/data/mnp.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Norway',
+ capital: 'Oslo',
+ languages: ['Norwegian', 'Norwegian BokmÄl', 'Norwegian Nynorsk'],
+ population: 5223256,
+ flag: 'https://restcountries.eu/data/nor.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Oman',
+ capital: 'Muscat',
+ languages: ['Arabic'],
+ population: 4420133,
+ flag: 'https://restcountries.eu/data/omn.svg',
+ currency: 'Omani rial'
+ },
+ {
+ name: 'Pakistan',
+ capital: 'Islamabad',
+ languages: ['English', 'Urdu'],
+ population: 194125062,
+ flag: 'https://restcountries.eu/data/pak.svg',
+ currency: 'Pakistani rupee'
+ },
+ {
+ name: 'Palau',
+ capital: 'Ngerulmud',
+ languages: ['English'],
+ population: 17950,
+ flag: 'https://restcountries.eu/data/plw.svg',
+ currency: '[E]'
+ },
+ {
+ name: 'Palestine, State of',
+ capital: 'Ramallah',
+ languages: ['Arabic'],
+ population: 4682467,
+ flag: 'https://restcountries.eu/data/pse.svg',
+ currency: 'Israeli new sheqel'
+ },
+ {
+ name: 'Panama',
+ capital: 'Panama City',
+ languages: ['Spanish'],
+ population: 3814672,
+ flag: 'https://restcountries.eu/data/pan.svg',
+ currency: 'Panamanian balboa'
+ },
+ {
+ name: 'Papua New Guinea',
+ capital: 'Port Moresby',
+ languages: ['English'],
+ population: 8083700,
+ flag: 'https://restcountries.eu/data/png.svg',
+ currency: 'Papua New Guinean kina'
+ },
+ {
+ name: 'Paraguay',
+ capital: 'AsunciĂłn',
+ languages: ['Spanish', 'GuaranĂ'],
+ population: 6854536,
+ flag: 'https://restcountries.eu/data/pry.svg',
+ currency: 'Paraguayan guaranĂ'
+ },
+ {
+ name: 'Peru',
+ capital: 'Lima',
+ languages: ['Spanish'],
+ population: 31488700,
+ flag: 'https://restcountries.eu/data/per.svg',
+ currency: 'Peruvian sol'
+ },
+ {
+ name: 'Philippines',
+ capital: 'Manila',
+ languages: ['English'],
+ population: 103279800,
+ flag: 'https://restcountries.eu/data/phl.svg',
+ currency: 'Philippine peso'
+ },
+ {
+ name: 'Pitcairn',
+ capital: 'Adamstown',
+ languages: ['English'],
+ population: 56,
+ flag: 'https://restcountries.eu/data/pcn.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Poland',
+ capital: 'Warsaw',
+ languages: ['Polish'],
+ population: 38437239,
+ flag: 'https://restcountries.eu/data/pol.svg',
+ currency: 'Polish zĆoty'
+ },
+ {
+ name: 'Portugal',
+ capital: 'Lisbon',
+ languages: ['Portuguese'],
+ population: 10374822,
+ flag: 'https://restcountries.eu/data/prt.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Puerto Rico',
+ capital: 'San Juan',
+ languages: ['Spanish', 'English'],
+ population: 3474182,
+ flag: 'https://restcountries.eu/data/pri.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Qatar',
+ capital: 'Doha',
+ languages: ['Arabic'],
+ population: 2587564,
+ flag: 'https://restcountries.eu/data/qat.svg',
+ currency: 'Qatari riyal'
+ },
+ {
+ name: 'Republic of Kosovo',
+ capital: 'Pristina',
+ languages: ['Albanian', 'Serbian'],
+ population: 1733842,
+ flag: 'https://restcountries.eu/data/kos.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Réunion',
+ capital: 'Saint-Denis',
+ languages: ['French'],
+ population: 840974,
+ flag: 'https://restcountries.eu/data/reu.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Romania',
+ capital: 'Bucharest',
+ languages: ['Romanian'],
+ population: 19861408,
+ flag: 'https://restcountries.eu/data/rou.svg',
+ currency: 'Romanian leu'
+ },
+ {
+ name: 'Russian Federation',
+ capital: 'Moscow',
+ languages: ['Russian'],
+ population: 146599183,
+ flag: 'https://restcountries.eu/data/rus.svg',
+ currency: 'Russian ruble'
+ },
+ {
+ name: 'Rwanda',
+ capital: 'Kigali',
+ languages: ['Kinyarwanda', 'English', 'French'],
+ population: 11553188,
+ flag: 'https://restcountries.eu/data/rwa.svg',
+ currency: 'Rwandan franc'
+ },
+ {
+ name: 'Saint Barthélemy',
+ capital: 'Gustavia',
+ languages: ['French'],
+ population: 9417,
+ flag: 'https://restcountries.eu/data/blm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Helena, Ascension and Tristan da Cunha',
+ capital: 'Jamestown',
+ languages: ['English'],
+ population: 4255,
+ flag: 'https://restcountries.eu/data/shn.svg',
+ currency: 'Saint Helena pound'
+ },
+ {
+ name: 'Saint Kitts and Nevis',
+ capital: 'Basseterre',
+ languages: ['English'],
+ population: 46204,
+ flag: 'https://restcountries.eu/data/kna.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Lucia',
+ capital: 'Castries',
+ languages: ['English'],
+ population: 186000,
+ flag: 'https://restcountries.eu/data/lca.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Saint Martin (French part)',
+ capital: 'Marigot',
+ languages: ['English', 'French', 'Dutch'],
+ population: 36979,
+ flag: 'https://restcountries.eu/data/maf.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Pierre and Miquelon',
+ capital: 'Saint-Pierre',
+ languages: ['French'],
+ population: 6069,
+ flag: 'https://restcountries.eu/data/spm.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Saint Vincent and the Grenadines',
+ capital: 'Kingstown',
+ languages: ['English'],
+ population: 109991,
+ flag: 'https://restcountries.eu/data/vct.svg',
+ currency: 'East Caribbean dollar'
+ },
+ {
+ name: 'Samoa',
+ capital: 'Apia',
+ languages: ['Samoan', 'English'],
+ population: 194899,
+ flag: 'https://restcountries.eu/data/wsm.svg',
+ currency: 'Samoan tÄlÄ'
+ },
+ {
+ name: 'San Marino',
+ capital: 'City of San Marino',
+ languages: ['Italian'],
+ population: 33005,
+ flag: 'https://restcountries.eu/data/smr.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sao Tome and Principe',
+ capital: 'São Tomé',
+ languages: ['Portuguese'],
+ population: 187356,
+ flag: 'https://restcountries.eu/data/stp.svg',
+ currency: 'SĂŁo TomĂ© and PrĂncipe dobra'
+ },
+ {
+ name: 'Saudi Arabia',
+ capital: 'Riyadh',
+ languages: ['Arabic'],
+ population: 32248200,
+ flag: 'https://restcountries.eu/data/sau.svg',
+ currency: 'Saudi riyal'
+ },
+ {
+ name: 'Senegal',
+ capital: 'Dakar',
+ languages: ['French'],
+ population: 14799859,
+ flag: 'https://restcountries.eu/data/sen.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Serbia',
+ capital: 'Belgrade',
+ languages: ['Serbian'],
+ population: 7076372,
+ flag: 'https://restcountries.eu/data/srb.svg',
+ currency: 'Serbian dinar'
+ },
+ {
+ name: 'Seychelles',
+ capital: 'Victoria',
+ languages: ['French', 'English'],
+ population: 91400,
+ flag: 'https://restcountries.eu/data/syc.svg',
+ currency: 'Seychellois rupee'
+ },
+ {
+ name: 'Sierra Leone',
+ capital: 'Freetown',
+ languages: ['English'],
+ population: 7075641,
+ flag: 'https://restcountries.eu/data/sle.svg',
+ currency: 'Sierra Leonean leone'
+ },
+ {
+ name: 'Singapore',
+ capital: 'Singapore',
+ languages: ['English', 'Malay', 'Tamil', 'Chinese'],
+ population: 5535000,
+ flag: 'https://restcountries.eu/data/sgp.svg',
+ currency: 'Brunei dollar'
+ },
+ {
+ name: 'Sint Maarten (Dutch part)',
+ capital: 'Philipsburg',
+ languages: ['Dutch', 'English'],
+ population: 38247,
+ flag: 'https://restcountries.eu/data/sxm.svg',
+ currency: 'Netherlands Antillean guilder'
+ },
+ {
+ name: 'Slovakia',
+ capital: 'Bratislava',
+ languages: ['Slovak'],
+ population: 5426252,
+ flag: 'https://restcountries.eu/data/svk.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Slovenia',
+ capital: 'Ljubljana',
+ languages: ['Slovene'],
+ population: 2064188,
+ flag: 'https://restcountries.eu/data/svn.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Solomon Islands',
+ capital: 'Honiara',
+ languages: ['English'],
+ population: 642000,
+ flag: 'https://restcountries.eu/data/slb.svg',
+ currency: 'Solomon Islands dollar'
+ },
+ {
+ name: 'Somalia',
+ capital: 'Mogadishu',
+ languages: ['Somali', 'Arabic'],
+ population: 11079000,
+ flag: 'https://restcountries.eu/data/som.svg',
+ currency: 'Somali shilling'
+ },
+ {
+ name: 'South Africa',
+ capital: 'Pretoria',
+ languages: [
+ 'Afrikaans',
+ 'English',
+ 'Southern Ndebele',
+ 'Southern Sotho',
+ 'Swati',
+ 'Tswana',
+ 'Tsonga',
+ 'Venda',
+ 'Xhosa',
+ 'Zulu'
+ ],
+ population: 55653654,
+ flag: 'https://restcountries.eu/data/zaf.svg',
+ currency: 'South African rand'
+ },
+ {
+ name: 'South Georgia and the South Sandwich Islands',
+ capital: 'King Edward Point',
+ languages: ['English'],
+ population: 30,
+ flag: 'https://restcountries.eu/data/sgs.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'Korea (Republic of)',
+ capital: 'Seoul',
+ languages: ['Korean'],
+ population: 50801405,
+ flag: 'https://restcountries.eu/data/kor.svg',
+ currency: 'South Korean won'
+ },
+ {
+ name: 'South Sudan',
+ capital: 'Juba',
+ languages: ['English'],
+ population: 12131000,
+ flag: 'https://restcountries.eu/data/ssd.svg',
+ currency: 'South Sudanese pound'
+ },
+ {
+ name: 'Spain',
+ capital: 'Madrid',
+ languages: ['Spanish'],
+ population: 46438422,
+ flag: 'https://restcountries.eu/data/esp.svg',
+ currency: 'Euro'
+ },
+ {
+ name: 'Sri Lanka',
+ capital: 'Colombo',
+ languages: ['Sinhalese', 'Tamil'],
+ population: 20966000,
+ flag: 'https://restcountries.eu/data/lka.svg',
+ currency: 'Sri Lankan rupee'
+ },
+ {
+ name: 'Sudan',
+ capital: 'Khartoum',
+ languages: ['Arabic', 'English'],
+ population: 39598700,
+ flag: 'https://restcountries.eu/data/sdn.svg',
+ currency: 'Sudanese pound'
+ },
+ {
+ name: 'Suriname',
+ capital: 'Paramaribo',
+ languages: ['Dutch'],
+ population: 541638,
+ flag: 'https://restcountries.eu/data/sur.svg',
+ currency: 'Surinamese dollar'
+ },
+ {
+ name: 'Svalbard and Jan Mayen',
+ capital: 'Longyearbyen',
+ languages: ['Norwegian'],
+ population: 2562,
+ flag: 'https://restcountries.eu/data/sjm.svg',
+ currency: 'Norwegian krone'
+ },
+ {
+ name: 'Swaziland',
+ capital: 'Lobamba',
+ languages: ['English', 'Swati'],
+ population: 1132657,
+ flag: 'https://restcountries.eu/data/swz.svg',
+ currency: 'Swazi lilangeni'
+ },
+ {
+ name: 'Sweden',
+ capital: 'Stockholm',
+ languages: ['Swedish'],
+ population: 9894888,
+ flag: 'https://restcountries.eu/data/swe.svg',
+ currency: 'Swedish krona'
+ },
+ {
+ name: 'Switzerland',
+ capital: 'Bern',
+ languages: ['German', 'French', 'Italian'],
+ population: 8341600,
+ flag: 'https://restcountries.eu/data/che.svg',
+ currency: 'Swiss franc'
+ },
+ {
+ name: 'Syrian Arab Republic',
+ capital: 'Damascus',
+ languages: ['Arabic'],
+ population: 18564000,
+ flag: 'https://restcountries.eu/data/syr.svg',
+ currency: 'Syrian pound'
+ },
+ {
+ name: 'Taiwan',
+ capital: 'Taipei',
+ languages: ['Chinese'],
+ population: 23503349,
+ flag: 'https://restcountries.eu/data/twn.svg',
+ currency: 'New Taiwan dollar'
+ },
+ {
+ name: 'Tajikistan',
+ capital: 'Dushanbe',
+ languages: ['Tajik', 'Russian'],
+ population: 8593600,
+ flag: 'https://restcountries.eu/data/tjk.svg',
+ currency: 'Tajikistani somoni'
+ },
+ {
+ name: 'Tanzania, United Republic of',
+ capital: 'Dodoma',
+ languages: ['Swahili', 'English'],
+ population: 55155000,
+ flag: 'https://restcountries.eu/data/tza.svg',
+ currency: 'Tanzanian shilling'
+ },
+ {
+ name: 'Thailand',
+ capital: 'Bangkok',
+ languages: ['Thai'],
+ population: 65327652,
+ flag: 'https://restcountries.eu/data/tha.svg',
+ currency: 'Thai baht'
+ },
+ {
+ name: 'Timor-Leste',
+ capital: 'Dili',
+ languages: ['Portuguese'],
+ population: 1167242,
+ flag: 'https://restcountries.eu/data/tls.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Togo',
+ capital: 'Lomé',
+ languages: ['French'],
+ population: 7143000,
+ flag: 'https://restcountries.eu/data/tgo.svg',
+ currency: 'West African CFA franc'
+ },
+ {
+ name: 'Tokelau',
+ capital: 'Fakaofo',
+ languages: ['English'],
+ population: 1411,
+ flag: 'https://restcountries.eu/data/tkl.svg',
+ currency: 'New Zealand dollar'
+ },
+ {
+ name: 'Tonga',
+ capital: "Nuku'alofa",
+ languages: ['English', 'Tonga (Tonga Islands)'],
+ population: 103252,
+ flag: 'https://restcountries.eu/data/ton.svg',
+ currency: 'Tongan paʻanga'
+ },
+ {
+ name: 'Trinidad and Tobago',
+ capital: 'Port of Spain',
+ languages: ['English'],
+ population: 1349667,
+ flag: 'https://restcountries.eu/data/tto.svg',
+ currency: 'Trinidad and Tobago dollar'
+ },
+ {
+ name: 'Tunisia',
+ capital: 'Tunis',
+ languages: ['Arabic'],
+ population: 11154400,
+ flag: 'https://restcountries.eu/data/tun.svg',
+ currency: 'Tunisian dinar'
+ },
+ {
+ name: 'Turkey',
+ capital: 'Ankara',
+ languages: ['Turkish'],
+ population: 78741053,
+ flag: 'https://restcountries.eu/data/tur.svg',
+ currency: 'Turkish lira'
+ },
+ {
+ name: 'Turkmenistan',
+ capital: 'Ashgabat',
+ languages: ['Turkmen', 'Russian'],
+ population: 4751120,
+ flag: 'https://restcountries.eu/data/tkm.svg',
+ currency: 'Turkmenistan manat'
+ },
+ {
+ name: 'Turks and Caicos Islands',
+ capital: 'Cockburn Town',
+ languages: ['English'],
+ population: 31458,
+ flag: 'https://restcountries.eu/data/tca.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Tuvalu',
+ capital: 'Funafuti',
+ languages: ['English'],
+ population: 10640,
+ flag: 'https://restcountries.eu/data/tuv.svg',
+ currency: 'Australian dollar'
+ },
+ {
+ name: 'Uganda',
+ capital: 'Kampala',
+ languages: ['English', 'Swahili'],
+ population: 33860700,
+ flag: 'https://restcountries.eu/data/uga.svg',
+ currency: 'Ugandan shilling'
+ },
+ {
+ name: 'Ukraine',
+ capital: 'Kiev',
+ languages: ['Ukrainian'],
+ population: 42692393,
+ flag: 'https://restcountries.eu/data/ukr.svg',
+ currency: 'Ukrainian hryvnia'
+ },
+ {
+ name: 'United Arab Emirates',
+ capital: 'Abu Dhabi',
+ languages: ['Arabic'],
+ population: 9856000,
+ flag: 'https://restcountries.eu/data/are.svg',
+ currency: 'United Arab Emirates dirham'
+ },
+ {
+ name: 'United Kingdom of Great Britain and Northern Ireland',
+ capital: 'London',
+ languages: ['English'],
+ population: 65110000,
+ flag: 'https://restcountries.eu/data/gbr.svg',
+ currency: 'British pound'
+ },
+ {
+ name: 'United States of America',
+ capital: 'Washington, D.C.',
+ languages: ['English'],
+ population: 323947000,
+ flag: 'https://restcountries.eu/data/usa.svg',
+ currency: 'United States dollar'
+ },
+ {
+ name: 'Uruguay',
+ capital: 'Montevideo',
+ languages: ['Spanish'],
+ population: 3480222,
+ flag: 'https://restcountries.eu/data/ury.svg',
+ currency: 'Uruguayan peso'
+ },
+ {
+ name: 'Uzbekistan',
+ capital: 'Tashkent',
+ languages: ['Uzbek', 'Russian'],
+ population: 31576400,
+ flag: 'https://restcountries.eu/data/uzb.svg',
+ currency: "Uzbekistani so'm"
+ },
+ {
+ name: 'Vanuatu',
+ capital: 'Port Vila',
+ languages: ['Bislama', 'English', 'French'],
+ population: 277500,
+ flag: 'https://restcountries.eu/data/vut.svg',
+ currency: 'Vanuatu vatu'
+ },
+ {
+ name: 'Venezuela (Bolivarian Republic of)',
+ capital: 'Caracas',
+ languages: ['Spanish'],
+ population: 31028700,
+ flag: 'https://restcountries.eu/data/ven.svg',
+ currency: 'Venezuelan bolĂvar'
+ },
+ {
+ name: 'Viet Nam',
+ capital: 'Hanoi',
+ languages: ['Vietnamese'],
+ population: 92700000,
+ flag: 'https://restcountries.eu/data/vnm.svg',
+ currency: 'Vietnamese Äá»ng'
+ },
+ {
+ name: 'Wallis and Futuna',
+ capital: 'Mata-Utu',
+ languages: ['French'],
+ population: 11750,
+ flag: 'https://restcountries.eu/data/wlf.svg',
+ currency: 'CFP franc'
+ },
+ {
+ name: 'Western Sahara',
+ capital: 'El AaiĂșn',
+ languages: ['Spanish'],
+ population: 510713,
+ flag: 'https://restcountries.eu/data/esh.svg',
+ currency: 'Moroccan dirham'
+ },
+ {
+ name: 'Yemen',
+ capital: "Sana'a",
+ languages: ['Arabic'],
+ population: 27478000,
+ flag: 'https://restcountries.eu/data/yem.svg',
+ currency: 'Yemeni rial'
+ },
+ {
+ name: 'Zambia',
+ capital: 'Lusaka',
+ languages: ['English'],
+ population: 15933883,
+ flag: 'https://restcountries.eu/data/zmb.svg',
+ currency: 'Zambian kwacha'
+ },
+ {
+ name: 'Zimbabwe',
+ capital: 'Harare',
+ languages: ['English', 'Shona', 'Northern Ndebele'],
+ population: 14240168,
+ flag: 'https://restcountries.eu/data/zwe.svg',
+ currency: 'Botswana pula'
+ }
+]
diff --git a/17_Day/17_day_starter/index.html b/17_Day/17_day_starter/index.html
new file mode 100644
index 0000000..e76eeef
--- /dev/null
+++ b/17_Day/17_day_starter/index.html
@@ -0,0 +1,16 @@
+
+
+
+
+ 30DaysOfJavaScript:17 Day
+
+
+
+ 30DaysOfJavaScript:17 Day
+ Web Storage
+
+
+
+
+
+
\ No newline at end of file
diff --git a/17_Day/17_day_starter/scripts/main.js b/17_Day/17_day_starter/scripts/main.js
new file mode 100644
index 0000000..e69de29
diff --git a/17_Day/17_day_web_storage.md b/17_Day/17_day_web_storage.md
new file mode 100644
index 0000000..5aa39ae
--- /dev/null
+++ b/17_Day/17_day_web_storage.md
@@ -0,0 +1,233 @@
+
+
+[<< Day 16](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/16_Day/16_day_json.md) | [Day 18 >>]()
+
+
+
+- [Day 17](#day-17)
+ - [HTML5 Web Storage](#html5-web-storage)
+ - [sessionStorage](#sessionstorage)
+ - [localStorage](#localstorage)
+ - [Use case of Web Storages](#use-case-of-web-storages)
+ - [HTML5 Web Storage Objects](#html5-web-storage-objects)
+ - [Setting item to the localStorage](#setting-item-to-the-localstorage)
+ - [Getting item from localStorage](#getting-item-from-localstorage)
+ - [Clearing the localStorage](#clearing-the-localstorage)
+ - [Exercises](#exercises)
+ - [Exercises: Level 1](#exercises-level-1)
+ - [Exercises: Level 2](#exercises-level-2)
+ - [Exercises: Level 3](#exercises-level-3)
+
+# Day 17
+
+## HTML5 Web Storage
+
+Web Storage(sessionStorage and localStorage) is a new HTML5 API offering important benefits over traditional cookies. Before HTML5, application data had to be stored in cookies, included in every server request. Web storage is more secure, and large amounts of data can be stored locally, without affecting website performance. The data storage limit of cookies in many web browsers is about 4 KB per cookie. We Storages can store far larger data (at least 5MB) and never transferred to the server. All sites from the same or one origin can store and access the same data.
+
+The data being stored can be accessed using JavaScript, which gives you the ability to leverage client-side scripting to do many things that have traditionally involved server-side programming and relational databases. The are are two Web Storage objects:
+
+- sessionStorage
+- localStorage
+
+localStorage is similar to sessionStorage, except that while data stored in localStorage has no expiration time, data stored in sessionStorage gets cleared when the page session ends â that is, when the page is closed.
+
+It should be noted that data stored in either localStorage or sessionStorage is specific to the protocol of the page.
+
+The keys and the values are always strings (note that, as with objects, integer keys will be automatically converted to strings).
+
+
+
+### sessionStorage
+
+sessionStorage is only available within the browser tab or window session. Itâs designed to store data in a single web page session. That means if the window is closed the session data will be removed. Since sessionStorage and localStorage has similar methods, we will focus only on localStorage.
+
+### localStorage
+
+The HTML5 localStorage is the para of the web storage API which is used to store data on the browser with no expiration data. The data will be available on the browser even after the browser is closed. localStorage is kept even between browser sessions. This means data is still available when the browser is closed and reopened, and also instantly between tabs and windows.
+
+Web Storage data is, in both cases, not available between different browsers. For example, storage objects created in Firefox cannot be accessed in Internet Explorer, exactly like cookies. There are five methods to work on local storage:
+_setItem(), getItem(), removeItem(), clear(), key()_
+
+### Use case of Web Storages
+
+Some use case of Web Storages are
+
+- store data temporarily
+- saving products that the user places in his shopping cart
+- data can be made available between page requests, multiple browser tabs, and also between browser sessions using localStorage
+- can be used offline completely using localStorage
+- Web Storage can be a great performance win when some static data is stored on the client to minimize the number of subsequent requests. Even images can be stored in strings using Base64 encoding.
+- can be used for user authentication method
+
+For the examples mentioned above, it makes sense to use localStorage. You may be wondering, then, when we should use sessionStorage.
+
+In cases, we want to to get rid of the data as soon as the window is closed. Or, perhaps, if we do not want the application to interfere with the same application thatâs open in another window. These scenarios are served best with sessionStorage.
+
+Now, let use how use make use of these Web Storage APIs.
+
+## HTML5 Web Storage Objects
+
+HTML web storage provides two objects for storing data on the client:
+
+- window.localStorage - stores data with no expiration date
+- window.sessionStorage - stores data for one session (data is lost when the browser tab is closed)Most modern browsers support Web Storage, however it is good to check browser support for localStorage and sessionStorage. Let us see the available methods for the Web Storage objects.
+
+Web Storage objects:
+
+- _localStorage_ - to display the localStorage object
+- _localStorage.clear()_ - to remove everything in the local storage
+- _localStorage.setItem()_ - to storage data in the localStorage. It takes a key and a value parameters.
+- _localStorage.getItem()_ - to display data stored in the localStorage. It takes a key as a parameter.
+- _localStorage.removeItem()_ - to remove stored item form a localStorage. It takes key as a parameter.
+- _localStorage.key()_ - to display a data stored in a localStorage. It takes index as a parameter.
+
+
+
+### Setting item to the localStorage
+
+When we set data to be stored in a localStorage, it will be stored as a string. If we are storing an array or an object, we should stringify it first to keep the format unless otherwise we lose the array structure or the object structure of the original data.
+
+We store data in the localStorage using the _localStorage.setItem_ method.
+
+```js
+//syntax
+localStorage.setItem('key', 'value')
+```
+
+- Storing string in a localStorage
+
+```js
+localStorage.setItem('firstName', 'Asabeneh') // since the value is string we do not stringify it
+console.log(localStorage)
+```
+
+```sh
+Storage {firstName: 'Asabeneh', length: 1}
+```
+
+- Storing number in a local storage
+
+```js
+localStorage.setItem('age', 200)
+console.log(localStorage)
+```
+
+```sh
+ Storage {age: '200', firstName: 'Asabeneh', length: 2}
+```
+
+- Storing an array in a localStorage. If we are storing an array, an object or object array, we should stringify the object first. See the example below.
+
+```js
+const skills = ['HTML', 'CSS', 'JS', 'React']
+//Skills array has to be stringified first to keep the format.
+const skillsJSON = JSON.stringify(skills, undefined, 4)
+localStorage.setItem('skills', skillsJSON)
+console.log(localStorage)
+```
+
+```sh
+Storage {age: '200', firstName: 'Asabeneh', skills: 'HTML,CSS,JS,React', length: 3}
+```
+
+```js
+let skills = [
+ { tech: 'HTML', level: 10 },
+ { tech: 'CSS', level: 9 },
+ { tech: 'JS', level: 8 },
+ { tech: 'React', level: 9 },
+ { tech: 'Redux', level: 10 },
+ { tech: 'Node', level: 8 },
+ { tech: 'MongoDB', level: 8 }
+]
+
+let skillJSON = JSON.stringify(skills)
+localStorage.setItem('skills', skillJSON)
+```
+
+- Storing an object in a localStorage. Before we storage objects to a localStorage, the object has to be stringified.
+
+```js
+const user = {
+ firstName: 'Asabeneh',
+ age: 250,
+ skills: ['HTML', 'CSS', 'JS', 'React']
+}
+
+const userText = JSON.stringify(user, undefined, 4)
+localStorage.setItem('user', userText)
+```
+
+### Getting item from localStorage
+
+We get data from the local storage using _localStorage.getItem()_ method.
+
+```js
+//syntax
+localStorage.getItem('key')
+```
+
+```js
+let firstName = localStorage.getItem('firstName')
+let age = localStorage.getItem('age')
+let skills = localStorage.getItem('skills')
+console.log(firstName, age, skills)
+```
+
+```sh
+ 'Asabeneh', '200', '['HTML','CSS','JS','React']'
+```
+
+As you can see the skill is in a string format. Let us use JSON.parse() to parse it to normal array.
+
+```js
+let skills = localStorage.getItem('skills')
+let skillsObj = JSON.parse(skills, undefined, 4)
+console.log(skillsObj)
+```
+
+```sh
+['HTML','CSS','JS','React']
+```
+
+### Clearing the localStorage
+
+The clear method, will clear everything stored in the local storage
+
+```js
+localStorage.clear()
+```
+
+đ You are determined .Now, you knew a Web Storages and you knew how to store small data on client browsers. You are 17 steps a head to your way to greatness. Now do some exercises for your brain and for your muscle.
+
+## Exercises
+
+### Exercises: Level 1
+
+1. Store you first name, last name, age, country, city in your browser localStorage.
+
+### Exercises: Level 2
+
+1. Create a student object. The student object will have first name, last name, age, skills, country, enrolled keys and values for the keys. Store the student object in your browser localStorage.
+
+### Exercises: Level 3
+
+1. Create an object called personAccount. It has firstname, lastname, incomes, expenses properties and it has totalIncome, totalExpense, accountInfo,addIncome, addExpense and accountBalance methods. Incomes is a set of incomes and its description and expenses is also a set of expenses and its description.
+
+đ CONGRATULATIONS ! đ
+
+[<< Day 16](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/16_Day/16_day_json.md) | [Day 18 >>]()
diff --git a/images/banners/Day -1 â 16.png b/images/banners/day_1_16.png
similarity index 100%
rename from images/banners/Day -1 â 16.png
rename to images/banners/day_1_16.png
diff --git a/images/banners/Day -1 â 17.png b/images/banners/day_1_17.png
similarity index 100%
rename from images/banners/Day -1 â 17.png
rename to images/banners/day_1_17.png
diff --git a/images/banners/Day -1 â 18.png b/images/banners/day_1_18.png
similarity index 100%
rename from images/banners/Day -1 â 18.png
rename to images/banners/day_1_18.png
diff --git a/images/banners/Day -1 â 19.png b/images/banners/day_1_19.png
similarity index 100%
rename from images/banners/Day -1 â 19.png
rename to images/banners/day_1_19.png
diff --git a/images/banners/Day -1 â 20.png b/images/banners/day_1_20.png
similarity index 100%
rename from images/banners/Day -1 â 20.png
rename to images/banners/day_1_20.png
diff --git a/images/local_storage.png b/images/local_storage.png
new file mode 100644
index 0000000..0876852
Binary files /dev/null and b/images/local_storage.png differ
diff --git a/images/regex.png b/images/regex.png
new file mode 100644
index 0000000..c7116b4
Binary files /dev/null and b/images/regex.png differ
diff --git a/images/web_storage.png b/images/web_storage.png
new file mode 100644
index 0000000..46f9311
Binary files /dev/null and b/images/web_storage.png differ
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..6199e3c
--- /dev/null
+++ b/index.html
@@ -0,0 +1,109 @@
+
+
+
+
+ Document Object Model:30 Days Of JavaScript
+
+
+
+
+
+
+ Body Mass Index Calculator
+
+
+
+ Calculate BMI
+
+
+
+
+
\ No newline at end of file