🌍 Public
Viewing a saved revision (read-only)
23c9e7ba41d6489bbb137bb0690fd680
Cars Report
This example renders a text-based report of used cars priced under $2,000. It filters an imported JavaScript array of car objects and formats each matching entry with its year, make, model, and price using template literals. The output, joined by newlines, is displayed in a large `<pre>` element via `document.getElementById()`. The data is defined in a separate `cars.js` module and imported using ES module syntax in `index.js`.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.