הישארו בקשר

מצא חן בעיניכם משהו?
נשמח להיות אתכם בקשר,
להמשך פרטים או להסבר פשוט.

כתבו לנו

בואו לבקר

לביקור למרכז המבקרים או לרכוש בחנות במקום
נשמח לראותכם
תעודת כשרות לשופר
שתפו

לפני שאתם עוזבים נשמח אם תשתפו באהבה

שלח/י הודעה בWhatsApp
אנחנו כאן לסייע לך
שלום
איך נוכל לסייע לך?
// Replace with your actual API key const apiKey = "ed019315a6f318291c64a073f865e86e"; // Function to fetch currency data function fetchCurrencyData() { const url = `https://api.currencylayer.com/list?access_key=${apiKey}`; fetch(url) .then(response => { if (!response.ok) { throw new Error(`Network response was not ok (status ${response.status})`); } return response.json(); }) .then(data => { // Process the currency data here const currencies = data.currencies; console.log(currencies); // Log the list of currencies to the console }) .catch(error => { console.error('Error fetching currency data:', error); }); } // Add the function to the page's header document.addEventListener('DOMContentLoaded', () => { fetchCurrencyData(); });