forked from Asabeneh/30-Days-Of-JavaScript
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
254 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ day9.md | |
day10.md | ||
01_02_03_days_backup.md | ||
test.md | ||
26_Day | ||
27_Day | ||
28_Day | ||
29_Day | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<div align="center"> | ||
<h1> 30 Days Of JavaScript</h1> | ||
<a class="header-badge" target="_blank" href="https://www.linkedin.com/in/asabeneh/"> | ||
<img src="https://img.shields.io/badge/style--5eba00.svg?label=LinkedIn&logo=linkedin&style=social"> | ||
</a> | ||
<a class="header-badge" target="_blank" href="https://twitter.com/Asabeneh"> | ||
<img alt="Twitter Follow" src="https://img.shields.io/twitter/follow/asabeneh?style=social"> | ||
</a> | ||
|
||
<sub>Author: | ||
<a href="https://www.linkedin.com/in/asabeneh/" target="_blank">Asabeneh Yetayeh</a><br> | ||
<small> January, 2020</small> | ||
</sub> | ||
|
||
</div> | ||
|
||
[<< Day 24](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/24_Day/24_day_dom_day_4.md) | [Day 26 >>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/26_Day/26_day_dom_day_6.md) | ||
|
||
![Thirty Days Of JavaScript](../images/banners/day_1_26.png) | ||
|
||
- [Day 26](#day-26) | ||
- [Exercises](#exercises) | ||
- [Exercise: Level 1](#exercise-level-1) | ||
|
||
# Day 26 | ||
|
||
## Exercises | ||
|
||
### Exercise: Level 1 | ||
|
||
1. Visualize the countries array as follows | ||
|
||
![Countries](./../images/projects/dom_mini_project_countries_day_6.1.gif) | ||
|
||
🎉 CONGRATULATIONS ! 🎉 | ||
|
||
[<< Day 25](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/25_Day/25_day_dom_day_5.md) | [Day 27>>](https://github.com/Asabeneh/30DaysOfJavaScript/blob/master/27_Day/27_day_dom_day_7.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,195 @@ | ||
const countries = [ | ||
'Afghanistan', | ||
'Albania', | ||
'Algeria', | ||
'Andorra', | ||
'Angola', | ||
'Antigua and Barbuda', | ||
'Argentina', | ||
'Armenia', | ||
'Australia', | ||
'Austria', | ||
'Azerbaijan', | ||
'Bahamas', | ||
'Bahrain', | ||
'Bangladesh', | ||
'Barbados', | ||
'Belarus', | ||
'Belgium', | ||
'Belize', | ||
'Benin', | ||
'Bhutan', | ||
'Bolivia', | ||
'Bosnia and Herzegovina', | ||
'Botswana', | ||
'Brazil', | ||
'Brunei', | ||
'Bulgaria', | ||
'Burkina Faso', | ||
'Burundi', | ||
'Cambodia', | ||
'Cameroon', | ||
'Canada', | ||
'Cape Verde', | ||
'Central African Republic', | ||
'Chad', | ||
'Chile', | ||
'China', | ||
'Colombi', | ||
'Comoros', | ||
'Congo (Brazzaville)', | ||
'Congo', | ||
'Costa Rica', | ||
"Cote d'Ivoire", | ||
'Croatia', | ||
'Cuba', | ||
'Cyprus', | ||
'Czech Republic', | ||
'Denmark', | ||
'Djibouti', | ||
'Dominica', | ||
'Dominican Republic', | ||
'East Timor (Timor Timur)', | ||
'Ecuador', | ||
'Egypt', | ||
'El Salvador', | ||
'Equatorial Guinea', | ||
'Eritrea', | ||
'Estonia', | ||
'Ethiopia', | ||
'Fiji', | ||
'Finland', | ||
'France', | ||
'Gabon', | ||
'Gambia, The', | ||
'Georgia', | ||
'Germany', | ||
'Ghana', | ||
'Greece', | ||
'Grenada', | ||
'Guatemala', | ||
'Guinea', | ||
'Guinea-Bissau', | ||
'Guyana', | ||
'Haiti', | ||
'Honduras', | ||
'Hungary', | ||
'Iceland', | ||
'India', | ||
'Indonesia', | ||
'Iran', | ||
'Iraq', | ||
'Ireland', | ||
'Israel', | ||
'Italy', | ||
'Jamaica', | ||
'Japan', | ||
'Jordan', | ||
'Kazakhstan', | ||
'Kenya', | ||
'Kiribati', | ||
'Korea, North', | ||
'Korea, South', | ||
'Kuwait', | ||
'Kyrgyzstan', | ||
'Laos', | ||
'Latvia', | ||
'Lebanon', | ||
'Lesotho', | ||
'Liberia', | ||
'Libya', | ||
'Liechtenstein', | ||
'Lithuania', | ||
'Luxembourg', | ||
'Macedonia', | ||
'Madagascar', | ||
'Malawi', | ||
'Malaysia', | ||
'Maldives', | ||
'Mali', | ||
'Malta', | ||
'Marshall Islands', | ||
'Mauritania', | ||
'Mauritius', | ||
'Mexico', | ||
'Micronesia', | ||
'Moldova', | ||
'Monaco', | ||
'Mongolia', | ||
'Morocco', | ||
'Mozambique', | ||
'Myanmar', | ||
'Namibia', | ||
'Nauru', | ||
'Nepal', | ||
'Netherlands', | ||
'New Zealand', | ||
'Nicaragua', | ||
'Niger', | ||
'Nigeria', | ||
'Norway', | ||
'Oman', | ||
'Pakistan', | ||
'Palau', | ||
'Panama', | ||
'Papua New Guinea', | ||
'Paraguay', | ||
'Peru', | ||
'Philippines', | ||
'Poland', | ||
'Portugal', | ||
'Qatar', | ||
'Romania', | ||
'Russia', | ||
'Rwanda', | ||
'Saint Kitts and Nevis', | ||
'Saint Lucia', | ||
'Saint Vincent', | ||
'Samoa', | ||
'San Marino', | ||
'Sao Tome and Principe', | ||
'Saudi Arabia', | ||
'Senegal', | ||
'Serbia and Montenegro', | ||
'Seychelles', | ||
'Sierra Leone', | ||
'Singapore', | ||
'Slovakia', | ||
'Slovenia', | ||
'Solomon Islands', | ||
'Somalia', | ||
'South Africa', | ||
'Spain', | ||
'Sri Lanka', | ||
'Sudan', | ||
'Suriname', | ||
'Swaziland', | ||
'Sweden', | ||
'Switzerland', | ||
'Syria', | ||
'Taiwan', | ||
'Tajikistan', | ||
'Tanzania', | ||
'Thailand', | ||
'Togo', | ||
'Tonga', | ||
'Trinidad and Tobago', | ||
'Tunisia', | ||
'Turkey', | ||
'Turkmenistan', | ||
'Tuvalu', | ||
'Uganda', | ||
'Ukraine', | ||
'United Arab Emirates', | ||
'United Kingdom', | ||
'United States', | ||
'Uruguay', | ||
'Uzbekistan', | ||
'Vanuatu', | ||
'Vatican City', | ||
'Venezuela', | ||
'Vietnam', | ||
'Yemen', | ||
'Zambia', | ||
'Zimbabwe' | ||
] |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<title>30DaysOfJavaScript:11 Day </title> | ||
</head> | ||
|
||
<body> | ||
<h1>30DaysOfJavaScript:11 Day</h1> | ||
<h2>Destructuring and Spread</h2> | ||
|
||
<script src="./data/countries.js"></script> | ||
<script src="./scripts/main.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
console.log(countries) | ||
alert('Open the console and check if the countries has been loaded') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.