Cars Report
✓ Published1🌍 Public
This example displays a plain-text report of cars priced under $2,000, loading the list asynchronously via a Promise in `getCars.js`. It formats each entry with `formatCar` into a “year make model $price” line and joins them with newlines in `generateReport`. The React-free interface uses vanilla DOM manipulation in `index.js` to update a `<pre>` element, while a simulated one-second delay demonstrates async data fetching before rendering the report.
AI-generated descriptionReact Starter code.
MIT Licensed