This code:

<div id="newnews">
    <div id="loading-spinner"></div>
    <div id="mailchimp-feed"></div>
    <script>
        document.addEventListener('DOMContentLoaded', async () => {
            const rssFeedUrl = 'https://feeds.feedburner.com/campaign-archive/Lb250xF4iPs';
            const feedContainer = document.getElementById('mailchimp-feed');
            const loadingSpinner = document.getElementById('loading-spinner');
            const cacheKey = 'feedburnerFeed';
            const cacheTimeout = 3600000; // Cache timeout in milliseconds (1 hour)
            const maxRetryAttempts = 3;

            function showLoadingSpinner() {
                loadingSpinner.style.display = 'block';
            }

            function hideLoadingSpinner() {
                loadingSpinner.style.display = 'none';
            }

            async function fetchFeedburnerFeed() {
                showLoadingSpinner();

                const cachedFeed = await getFromLocalStorage(cacheKey);
                const cacheTimestamp = await getFromLocalStorage(`${cacheKey}_timestamp`);

                if (cachedFeed && cacheTimestamp) {
                    const ageInMilliseconds = Date.now() - parseInt(cacheTimestamp, 10);
                    if (ageInMilliseconds < cacheTimeout) {
                        hideLoadingSpinner();
                        return JSON.parse(cachedFeed);
                    }
                }

                try {
                    const response = await fetch(`https://api.rss2json.com/v1/api.json?rss_url=${encodeURIComponent(rssFeedUrl)}`);
                    console.log('API Response:', response);

                    if (!response.ok) {
                        throw new Error(`Error fetching feed: ${response.status}`);
                    }

                    const data = await response.json();
                    console.log('API Data:', data);

                    hideLoadingSpinner();

                    if (data.status === 'ok') {
                        await setToLocalStorage(cacheKey, JSON.stringify(data.items.slice(0, 4)));
                        await setToLocalStorage(`${cacheKey}_timestamp`, Date.now().toString());
                        return data.items.slice(0, 4);
                    } else {
                        throw new Error(`API error: ${data.status}`);
                    }
                } catch (error) {
                    hideLoadingSpinner();
                    console.error("Error fetching feed:", error);
                    throw new Error("Error fetching feed: " + error.message);
                }
            }

            async function retryFetchFeedburnerFeed(maxAttempts) {
                let attempts = 0;

                while (attempts < maxAttempts) {
                    try {
                        const feed = await fetchFeedburnerFeed();
                        if (feed) {
                            return feed;
                        }
                    } catch (error) {
                        console.error("Retry attempt:", attempts + 1, error.message);
                    }

                    attempts++;
                }

                return null;
            }

            try {
                const feed = await retryFetchFeedburnerFeed(maxRetryAttempts);
                if (feed) {
                    formatAndDisplayFeed(feed);
                } else {
                    feedContainer.innerHTML = '<p>Error loading feed. Please try again later.</p>';
                }
            } catch (error) {
                console.error(error.message);
            }

            function formatAndDisplayFeed(items) {
                feedContainer.innerHTML = '';
                items.forEach(item => {
                    let feedItemHtml = '<div class="emailcard">';
                    const image = getFormattedImage(item.content);
                    if (image) {
                        feedItemHtml += image;
                    }
                    feedItemHtml += `<h2>${item.title}</h2>`;
                    feedItemHtml += `<a href="${item.link}" target="_blank">Read More</a>`;
                    feedItemHtml += '</div>';
                    feedContainer.innerHTML += feedItemHtml;
                });
            }

            function getFormattedImage(htmlContent) {
                const tempDiv = document.createElement('div');
                tempDiv.innerHTML = htmlContent;
                const images = tempDiv.querySelectorAll('img');
                const firstImage = images[0]; // Get the first image from the feed content
                if (firstImage) {
                    // Apply CSS styles to the first image
                    firstImage.style.width = '100%';
                    firstImage.style.height = 'auto';
                    firstImage.style.display = 'block';
                    firstImage.style.borderRadius = '8px 8px 0 0';
                    firstImage.style.objectFit = 'cover';
                    return firstImage.outerHTML;
                }
                return null; // Return null if no image found
            }

            // Helper functions for Promisifying LocalStorage operations
            function getFromLocalStorage(key) {
                return new Promise(resolve => {
                    resolve(localStorage.getItem(key));
                });
            }

            function setToLocalStorage(key, value) {
                return new Promise(resolve => {
                    resolve(localStorage.setItem(key, value));
                });
            }
        });
    </script>
</div>


Is giving me this error: students:1 Access to fetch at 'https://api.rss2json.com/v1/api.json?rss_url=https%3A%2F%2Ffeeds.feedburner.com%2Fcampaign-archive%2FLb250xF4iPs' from origin 'https://crossroadsbic.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.