Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
MMorgan
Last edited Nov 27, 2024
Created on Nov 27, 2024
Forked from HTML Starter

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 description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes