Formal Report
This example renders a simple text-based formal report of used cars priced under $2000. It displays each qualifying car as a formatted line combining year, make, model, and price. The code uses vanilla JavaScript with the `filter` and `map` array methods, along with a template literal `formatCar` function, to process data from a static JSON array. The resulting report is inserted into the page via `document.getElementById` and `textContent`, with styling applied through inline CSS on a `<pre>` element.