Cars Report
✓ Published0🌍 Public
This example displays a text-based report of cars priced under $2,000, listing each vehicle’s year, make, model, and price. It begins with a “Loading…” message while fetching data via a simulated asynchronous `getCars()` promise, then uses `generateReport()` to filter and format the JSON car list with `formatCar()`. The report is rendered into a `<pre>` element using plain DOM `textContent` updates, built with React and vanilla JavaScript.
AI-generated descriptionReact Starter code. fdfasf
MIT Licensed