Cars Report
✓ Published1🌍 Public
This example demonstrates a text-based report generated from car data, filtering vehicles under a price threshold and formatting each entry with year, make, model, and price. It uses a JavaScript promise—`getCars()`—to simulate asynchronous loading with a two-second delay, then displays a loading message before rendering the final report in the browser via `textContent`. The modular approach imports `formatCar` and `generateReport` to handle data transformation, relying on `JSON.parse` for the inline car dataset.
AI-generated descriptionAn example tutorial of how to use JavaScript objects, arrays, and modules.
MIT Licensed