Cars Report
✓ Published0🌍 Public
This example displays a list of cars filtered by price, showing each vehicle’s year, make, model, and cost as plain text. It fetches demo data from a local JSON array via a simulated asynchronous `getCars` promise, then applies a filtering and formatting pipeline using `generateReport` and `formatCar`. The React-based view updates a DOM element directly with `document.getElementById`, replacing an initial “Loading…” message with the final report.
AI-generated descriptionAn example tutorial of how to use Javascript objects, arrays and modules.
MIT Licensed