Fork of HTML Starter
✓ Published0🌍 Public
This example demonstrates how to load and parse CSV data in a web page using the Fetch API. It sets up an `async` function that retrieves a text file from a GitHub gist URL containing CSS named colors, then logs the raw text to the browser console. The code also includes commented-out variations of the fetch calls, showing alternative ways to handle the promise chain. The page itself has no visual rendering; its purpose is to illustrate the basic mechanics of fetching remote data with JavaScript's `fetch` and processing the response as text.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed