Cars Report
✓ Published0🌍 Public
This example demonstrates a simple asynchronous data report. It displays a list of cars (year, make, model, and price) that fall below a specified price threshold, initially showing a “Loading…” message. The React-driven code uses JavaScript Promises via `getCars()` to simulate fetching a hardcoded JSON array, then filters and formats the data with `generateReport()` and `formatCar()`. The output is rendered as plain text inside an HTML `<pre>` element, updated after a two-second delay.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed