complete-javascript-course icon indicating copy to clipboard operation
complete-javascript-course copied to clipboard

244 Welcome to Callback Hell at 9:30 - neighbours array destructuring and CSS

Open hazartilirot opened this issue 4 years ago • 1 comments

Well, as an example you work with Portugal. The country just has one neighbour. However, if we take Ukraine there are seven neighbours all of them are passed in an array, we shouldn't apply destructuring assignment. Instead we should apply forEach method on the array.

The second thing is styles. We need to add width: 1000px to a .container and flex-wrap: wrap; to a .countries. Otherwise if a browser window is half narrowed some countries could not appear in the result.

hazartilirot avatar Dec 07 '20 08:12 hazartilirot

I am in beginning of the topics sir I am yet not goes in the topic of array

sisirGhimiray avatar Dec 07 '20 10:12 sisirGhimiray