Skip to main content
100%

Fork of HTML Starter

✓ Published0🌍 Public
TTim
Last edited Feb 1, 2021
Created on Feb 1, 2021
Forked from HTML Starter

This example demonstrates how to display a data value from a JSON array on a web page using vanilla JavaScript and HTML. It imports a parsed dataset of car objects from `cars.js` via ECMAScript modules, then writes the first car’s year (1997) into a `<pre>` element’s text content using `document.getElementById`. The page uses no external libraries, relying on the browser’s native DOM API and JSON parsing. The HTML starter structure includes a script tag for `bundle.js`, which bundles the imported module for execution.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes