Cars Report
✓ Published1🌍 Public
This example displays the price of the second car in a small static dataset, rendering the numeric value as large text on an HTML page. It imports car records from a separate module, accesses `cars[1].price`, and writes the result into the DOM via `document.getElementById` and `textContent`. The data consists of five car objects with make, model, year, and price fields, embedded as JSON and parsed with `JSON.parse`. The visualization uses no charting library, relying solely on plain JavaScript and React’s ecosystem, with the page structure defined in `index.html` and a pre-rendered bundle.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed