HTML Starter
✓ Published0🌍 Public
This example displays a plain HTML page that sets the text content of a div to the make of the first car from a static dataset. The data is defined as a JSON string in `cars.js` and parsed into a JavaScript array using `JSON.parse`. The `index.js` file imports the array, accesses `cars[0].make`, and updates the page via the `textContent` property of the `document.getElementById` element. The page structure is provided by the `index.html` file, which loads the compiled bundle script.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed