var currencyDictionary = {
'Chinese Yuan (CNY)': {'Chinese Yuan (CNY)': 1.00, 'Japanese Yen (JPY)': 15.64, 'Philippine Pesos (PHP)': 7.18, 'Singapore Dollars (SGD)': 0.20, 'Vietnamese Dong (VND)': 3275.95 },
'Japanese Yen (JPY)': {'Chinese Yuan (CNY)': 0.064, 'Japanese Yen (JPY)': 1.00, 'Philippine Pesos (PHP)': 0.46, 'Singapore Dollars (SGD)': 0.013, 'Vietnamese Dong (VND)': 209.42 },
'Philippine Pesos (PHP)': {'Chinese Yuan (CNY)': 0.14, 'Japanese Yen (JPY)': 2.18, 'Philippine Pesos (PHP)': 1.00, 'Singapore Dollars (SGD)': 0.028, 'Vietnamese Dong (VND)': 456.92 },
'Singapore Dollars (SGD)': {'Chinese Yuan (CNY)': 4.89, 'Japanese Yen (JPY)': 76.54, 'Philippine Pesos (PHP)': 35.16, 'Singapore Dollars (SGD)': 1.00, 'Vietnamese Dong (VND)': 16034.70 },
'Vietnamese Dong (VND)': {'Chinese Yuan (CNY)': 0.00030, 'Japanese Yen (JPY)': 0.0048, 'Philippine Pesos (PHP)': 0.0022, 'Singapore Dollars (SGD)': 0.000062, 'Vietnamese Dong (VND)': 1.000 }
}
btn.addEventListener('click', convertCurrency);
<html>
<head>
...
</head>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<body>
...
</body>