Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

edf265a04426457195cf3f442ab9c7e6

Fork of HTML Starter

0 stars0🌍 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.