Cars report
✓ Published0🌍 Public
This example displays a text-based car report generated from a hardcoded JSON dataset. It filters cars by a maximum price and lists their names, models, and prices using async data loading. The React starter code uses a Promise with `setTimeout` to simulate a two-second fetch delay, and the report is rendered directly into a `<pre>` element via `getElementById`. The `formatCars` and `generateReport` functions handle string formatting and filtering.
AI-generated descriptionReact Starter code.
MIT Licensed