The populateCountries function in the home.js file appends countries.