Cars report
✓ Published0🌍 Public
This example displays a text-based report of cars priced under $2,500, listing each vehicle’s year, make, model, and price from a hardcoded JSON array. It demonstrates JavaScript module usage and asynchronous data handling, using `getCars()` with a simulated two-second delay, `generateReport()` to filter and format entries, and `formatCar()` for string output. The `index.html` shows the result in a `<pre>` element via DOM manipulation in `index.js`.
AI-generated descriptionAn example to work with javascript and modules.
MIT Licensed