HTML Starter
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed