fetch from my gist
✓ Published0🌍 Public
This example demonstrates a minimal HTML page that fetches and logs a CSV file of CSS named colors from a GitHub gist. The page renders a large “Hello HTML!” message styled with CSS, while the fetchData.js script uses the Fetch API to retrieve the raw text data from the provided URL and output it to the console. It illustrates a basic pattern of combining JavaScript’s async/await with the browser’s native fetch for loading external data, without any visualization framework beyond plain HTML, CSS, and JavaScript.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed