Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
Nnncis
Last edited Sep 15, 2023
Created on Sep 15, 2023
Forked from HTML Starter

This example demonstrates a minimal HTML page that fetches and logs a CSV file of CSS named colors from a GitHub gist. It uses the Fetch API in an async/await pattern to retrieve the text and output it to the browser console. The page also includes a large styled greeting message via CSS, while the JavaScript handles the data request. The code shows both an active async/await implementation and a commented-out alternative using promise chaining.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes