Country Guide



Country: ${data.name.common.toUpperCase()}

Capital: ${data.capital[0]}

Population: ${data.population}

Continent: ${data.region}

Languages: ${Object.values(data.languages) .toString() .split(",") .join(", ")}

Currency: ${ data.currencies[Object.keys(data.currencies)].name } - ${data.currencies[Object.keys(data.currencies)].symbol}

`; countryInp.value = ""; }