Cars Report
This example displays a text-based report of cars filtered by price, showing the make, model, year, and cost for vehicles under $2,000. The page initially shows a loading message while a simulated asynchronous data fetch runs via a Promise with a two-second delay. The code uses ES6 modules, `JSON.parse` to load hardcoded car data, and the `Promise` API to handle the delayed response. Once loaded, the `generateReport` function filters, formats, and joins the car entries into a single string displayed in an HTML `<pre>` element.