🌍 Public
Viewing a saved revision (read-only)
7f5f9f28160a49beb5a08485d4589de3
Fetch
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.