Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
EEmilio Hernandez
Last edited Sep 15, 2020
Created on Sep 15, 2020
Forked from HTML Starter

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 description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes