🌍 Public
Viewing a saved revision (read-only)
2b0e93d4cd1d41898f35d1cf65f9689a
Testing fetch data Curran Kelleher's course
This example demonstrates how to fetch and load a CSV file asynchronously using JavaScript, logging the raw text to the browser console. It uses the `fetch` API within an `async` function `fetchText` to retrieve a dataset of CSS named colors from a GitHub Gist hosted by Curran Kelleher. The page displays a simple heading, but the core behavior is observable in the console, where the data appears as plain text. The code illustrates a basic pattern for fetching remote data, without parsing or visualizing it further.
AI-generated descriptionLearning load and parses csv data