t"></div>
    </div>

    <script>
        // Fetch news articles from a sample API
        fetch('https://api.spaceflightnewsapi.net/v4/articles/?title_contains=NASA')
            .then(response => response.json())
            .then(data => {
		data = data.results		
                const newsList = document.getElementById('news-list');
                data.slice(0, 5).forEach(article => {
                    const newsItem = document.createElement('div');
                    newsItem.classList.add('news-it