Skip to main content
100%

Colors Table

✓ Published1🌍 Public
AAndres de la Garza
Last edited Feb 28, 2021
Created on Feb 28, 2021
Forked from HTML Starter

This example demonstrates fetching and displaying a table of CSS named colors in the browser console. The code uses the native JavaScript `fetch` API to asynchronously retrieve a CSV file containing color names and their corresponding hexadecimal values from a GitHub Gist URL. It then processes the response using the `response.text()` method, and logs the raw CSV content to the developer console via `console.log`. The HTML page itself is minimal, centering a large title text with CSS, while the data retrieval and logging logic are handled entirely within a `_script` tag. No external visualization libraries or frameworks are employed.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes