🌍 Public
Viewing a saved revision (read-only)
849759fc769b464489e0e1e4df61b19b
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.