View Code? Open in Web Editor
NEW
This project forked from cmda-minor-web /web-app-from-scratch-1819
Web App From Scratch @cmda-minor-web · 2018-2019
Home Page: https://arash217.github.io/web-app-from-scratch-18-19/week3/#home
HTML 19.53%
CSS 18.32%
JavaScript 62.16%
web-app-from-scratch-18-19's People
Watchers
web-app-from-scratch-18-19's Issues
So you won't interfere with possible other classes in the list
container . className = 'country' ;
There is no specific reason to use an IIFE around a program, since it's technically an IIFE already. Is there a reason for this (modularisation later on)?
data . forEach ( country => main . appendChild ( getCountryNode ( country ) ) ) ;