Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
Ffrank-jim
Last edited Mar 19, 2020
Created on Mar 19, 2020
Forked from HTML Starter

This example demonstrates a minimal HTML page that imports a static dataset and displays a car name on screen. It shows how an ES module exports an array of car objects, which index.js imports and uses to update the text content of a `<pre>` element via `document.getElementById`. The page uses plain HTML with inline CSS for styling, and depends on a bundler like Vite or Webpack to resolve the module imports and serve `bundle.js`. The data lives in a separate `cars.js` file, parsed from a JSON string.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes