Skip to main content
100%

Load Data

✓ Published0🌍 Public
TthanosK95
Last edited Jul 4, 2021
Created on Jul 4, 2021
Forked from HTML Starter

This example demonstrates how to fetch and display the raw contents of a CSV file in the browser console. It loads a list of CSS named colors from a GitHub gist using the native `fetch` API, converts the response to text with `response.text()`, and logs it via `console.log`. The code uses an asynchronous `async`/`await` pattern within a `fetchText` function, and the script is embedded directly in an `index.html` page without any external libraries or frameworks.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes