implemented currency selection

This commit is contained in:
0ceanSlim 2023-08-02 10:39:16 -04:00
parent c2ad2306aa
commit b74b96fe25
2 changed files with 1 additions and 2 deletions

View File

@ -26,7 +26,6 @@
</div>
</div>
<script src="your_javascript_file.js"></script>
</body>
</html>

View File

@ -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, 30000); // Call the function every 30 seconds (30,000 milliseconds)
setInterval(updateBitcoinPrice, 5000); // Call the function every 5 seconds (5,000 milliseconds)
}
// Call the function to refresh the Bitcoin price