em');
                    newsItem.innerHTML = `
                        <h2>${article.title}</h2>
                        <p>${article.summary}</p>
	                <a href=${article.url}>${article.url}</a>
	                <h6>${article.published_at}</h6>
                    `;
                    newsList.appendChild(newsItem);
                });
            })
            .catch(error => console.error('Error fetching news:', error));
    </script>
</body>
</html>
