added more currencies to dropdown
This commit is contained in:
parent
b74b96fe25
commit
fa53212ca9
@ -19,9 +19,21 @@
|
||||
<div class="currency-dropdown">
|
||||
<label for="currency-select">Select Currency: </label>
|
||||
<select id="currency-select">
|
||||
<option value="usd">Dollars (USD)</option>
|
||||
<option value="jpy">Yen (JPY)</option>
|
||||
<option value="eur">Euros (EUR)</option>
|
||||
<option value="usd">Dollars</option>
|
||||
<option value="ars">Argentine Peso</option>
|
||||
<option value="brl">Brazilian Real</option>
|
||||
<option value="cny">Chinese Yuan</option>
|
||||
<option value="eur">Euros</option>
|
||||
<option value="inr">Indian Rupee</option>
|
||||
<option value="jpy">Yen</option>
|
||||
<option value="ngn">Nigerian Naira</option>
|
||||
<option value="pkr">Pakistani Rupee</option>
|
||||
<option value="php">Philippine Peso</option>
|
||||
<option value="rub">Russian Ruble</option>
|
||||
<option value="thb">Thai Baht</option>
|
||||
<option value="try">Turkish Lira</option>
|
||||
<option value="uah">Ukrainian Hryvnia</option>
|
||||
<option value="vnd">Dong</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -31,7 +31,7 @@ function updateBitcoinPrice() {
|
||||
// Function to refresh the Bitcoin price every 30 seconds
|
||||
function refreshBitcoinPrice() {
|
||||
updateBitcoinPrice(); // Call the function immediately to display the price on page load
|
||||
setInterval(updateBitcoinPrice, 5000); // Call the function every 5 seconds (5,000 milliseconds)
|
||||
setInterval(updateBitcoinPrice, 1000); // Call the function every 1 second (1,000 milliseconds)
|
||||
}
|
||||
|
||||
// Call the function to refresh the Bitcoin price
|
||||
|
Loading…
Reference in New Issue
Block a user