Cars Report
This example demonstrates how to generate a text-based car report by filtering a list of vehicles based on a maximum price. The application displays car details, including year, make, model, and price, for all entries under a specified threshold. The code builds the report using JavaScript array methods such as `filter` and `map`, alongside the `Promise`-based `getCars` function, which simulates asynchronous data retrieval. The output is rendered directly into an HTML `<pre>` element, with the interface initially showing a "Loading..." message before the report appears.