Fork of HTML Starter
✓ Published0🌍 Public
This example demonstrates a minimal HTML page that fetches and logs a CSV file of CSS named colors from a GitHub gist. It uses the Fetch API in an async/await pattern to retrieve the text and output it to the browser console. The page also includes a large styled greeting message via CSS, while the JavaScript handles the data request. The code shows both an active async/await implementation and a commented-out alternative using promise chaining.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed