Skip to main content
100%

Fetch

✓ Published0🌍 Public
DDusty White
Last edited Aug 10, 2021
Created on Aug 10, 2021
Forked from HTML Starter

This example demonstrates the browser's Fetch API by requesting a CSV file containing CSS named colors from a GitHub gist. The code logs the resulting Promise object to the console, showing the pending state before the asynchronous request completes. It uses the native `fetch` function in vanilla JavaScript within an HTML script tag without additional libraries or visualization frameworks.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes