Skip to main content
100%

Cars Report

✓ Published0🌍 Public
GGarrett Haas
Last edited Jun 23, 2020
Created on Jun 23, 2020
Forked from HTML Starter

This example displays a single text message—the make of the first car in a hardcoded JSON array—inside a large `<pre>` element. It loads the car data from `cars.js` via a JSON string parsed with `JSON.parse` and imported as a module, then accesses `cars[0].make` to update the page content. The visualization is minimal, demonstrating how a React-based project can integrate plain JavaScript data handling and DOM manipulation through `document.getElementById` and `textContent`. The data includes five cars with attributes like year, make, model, and price.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes