1. Using the above countries array, create an array for countries length'.
1. Using the above countries array, create an array for countries length'.
```sh
```sh
[7, 7, 6, 7, 8, 7, 7, 7, 7, 5, 5]
[7, 7, 6, 7, 8, 7, 7, 7, 7, 5, 5]
```
```
1. Use the countries array to create the following array of arrays:
1. Use the countries array to create the following array of arrays:
```sh
```sh
[
[
['Albania', 'ALB', 7],
['Albania', 'ALB', 7],
['Bolivia', 'BOL', 7],
['Bolivia', 'BOL', 7],
['Canada', 'CAN', 6],
['Canada', 'CAN', 6],
['Denmark', 'DEN', 7],
['Denmark', 'DEN', 7],
['Ethiopia', 'ETH', 8],
['Ethiopia', 'ETH', 8],
['Finland', 'FIN', 7],
['Finland', 'FIN', 7],
['Germany', 'GER', 7],
['Germany', 'GER', 7],
['Hungary', 'HUN', 7],
['Hungary', 'HUN', 7],
['Ireland', 'IRE', 7],
['Ireland', 'IRE', 7],
['Iceland', 'ICE', 7],
['Iceland', 'ICE', 7],
['Japan', 'JAP', 5],
['Japan', 'JAP', 5],
['Kenya', 'KEN', 5]
['Kenya', 'KEN', 5]
]
]
```
```
2. In above countries array, check if there is a country or countries containing the word 'land'. If there are countries containing 'land', print it as array. If there is no country containing the word 'land', print 'All these countries are without land'.
1. In the countries array above, check if there is a country or countries containing the word 'land'. If there are countries containing 'land', print it as array. If there is no country containing the word 'land', print 'All these countries are without land'.
```sh
```sh
['Finland','Ireland', 'Iceland']
['Finland','Ireland', 'Iceland']
```
```
3. In above countries array, check if there is a country or countries end with a substring 'ia'. If there are countries end with, print it as array. If there is no country containing the word 'ai', print 'These are countries ends without ia'.
1. In the countries array above, check if there is a country or countries that ends with a substring 'ia'. If there are countries that ends with 'ia', print it as an array. If there is no country containing the word 'ia', print 'These are countries that ends without ia'.
```sh
```sh
['Albania', 'Bolivia','Ethiopia']
['Albania', 'Bolivia','Ethiopia']
```
```
4. Using the above countries array, find the country containing the biggest number of characters.
1. Using the countries array above, find the country containing the biggest number of characters.
```sh
```sh
Ethiopia
Ethiopia
```
```
5. Using the above countries array, find the country containing only 5 characters.
1. Using the countries array above, find the country or countries containing only 5 characters.
```sh
```sh
['Japan', 'Kenya']
['Japan', 'Kenya']
```
```
6. Find the longest word in the webTechs array
1. Find the longest word in the webTechs array
7. Use the webTechs array to create the following array of arrays:
1. Use the webTechs array to create the following array of arrays:
8. An application created using MongoDB, Express, React and Node is called a MERN stack app. Create the acronym MERN by using the array mernStack
1. An application created using MongoDB, Express, React and Node is called a MERN stack app. Create the acronym MERN by using the array mernStack
9. Iterate through the array, ["HTML", "CSS", "JS", "React", "Redux", "Node", "Express", "MongoDB"] using a for loop or for of loop and print out the items.
1. Iterate through the array, ["HTML", "CSS", "JS", "React", "Redux", "Node", "Express", "MongoDB"] using a for loop or for of loop and print out the items.
10. This is a fruit array , ['banana', 'orange', 'mango', 'lemon'] reverse the order using loop without using a reverse method.
1. This is a fruit array , ['banana', 'orange', 'mango', 'lemon'] reverse the order using loop without using a reverse method.
11. Print all the elements of array as shown below.
1. Print all the elements of array as shown below.
```js
```js
const fullStack = [
const fullStack = [
['HTML', 'CSS', 'JS', 'React'],
["HTML", "CSS", "JS", "React"],
['Node', 'Express', 'MongoDB']
["Node", "Express", "MongoDB"],
]
];
````
```
```sh
```sh
HTML
HTML
CSS
CSS
JS
JS
REACT
REACT
NODE
NODE
EXPRESS
EXPRESS
MONGODB
MONGODB
```
```
### Exercises: Level 3
### Exercises: Level 3
1. Copy countries array(Avoid mutation)
1. Copy countries array(Avoid mutation)
1. Arrays are mutable. Create a copy of array which does not modify the original. Sort the copied array and store in a variable sortedCountries
1. Arrays are mutable. Create a copy of array which does not modify the original. Sort the copied array and store in a variable sortedCountries
1. Sort the webTechs array and mernStack array
1. Sort the webTechs array and mernStack array
1. Extract all the countries contain the word 'land' from the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and print it as array
1. Find the country containing the hightest number of characters in the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js)
1. Find the country containing the hightest number of characters in the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js)
1. Extract all the countries contain the word 'land' from the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and print it as array
1. Extract all the countries contain the word 'land' from the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and print it as array
1. Extract all the countries containing only four characters from the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and print it as array
1. Extract all the countries containing only four characters from the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and print it as array
1. Extract all the countries containing two or more words from the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and print it as array
1. Extract all the countries containing two or more words from the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and print it as array
1. Reverse the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and capitalize each country and stored it as an array
1. Reverse the [countries array](https://github.com/Asabeneh/30DaysOfJavaScript/tree/master/data/countries.js) and capitalize each country then store it as an array