Cars Report
✓ Published1🌍 Public
This example displays a text report of cars priced under $2,000, fetched asynchronously from a hardcoded JSON array. After a two-second delay, each qualifying car is formatted with its year, make, model, and price on separate lines. The React-free interface uses JavaScript promises via `getCars()` and `formatCar()` utilities, updating the content of an HTML `<pre>` element using `document.getElementById` and `textContent`. The data source is local JSON parsed with `JSON.parse`.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed