Cars
✓ Published0🌍 Public
This example loads a small, hard-coded JSON dataset of four used cars with year, make, model, and price. It shows a text-based report listing cars under a $2,000 budget, formatted as “year make model: $price”. The React app uses `getCars` with a simulated 2-second delay to fetch data, then `generateReport` filters and formats the results, writing the output to a `<pre>` element in the DOM.
AI-generated descriptionReact Starter code.
MIT Licensed