🌍 Public
Viewing a saved revision (read-only)
7aa6e9af84204399af2b838303b238ad
Cars Report
A text-based report displays a filtered list of cars, showing each vehicle’s year, make, model, and price in a large monospaced layout. The example uses a `generateReport` function that filters an imported JSON array by a maximum price threshold and formats matching entries with `formatCar`. The resulting message is rendered into a `<pre>` element via `document.getElementById().textContent`. The code relies on ES6 modules (`import`/`export`) and a bundled `bundle.js` for browser execution.
AI-generated descriptionThis is a description using Markdown.