Cars Report
✓ Published1🌍 Public
This example displays a plain-text report of cars priced under $2,000, formatted as a multi-line list using the browser’s `<pre>` element. It demonstrates ES6 module imports, array filtering with `.filter()`, and mapping with `.map()` to transform each car object into a readable string via `formatCar`. The data is embedded as JSON within `cars.js` and parsed with `JSON.parse`, while the final message is set through the DOM API `document.getElementById().textContent`. Styling uses a custom Ubuntu font and dark background via CSS.
AI-generated descriptionThis is a description using Markdown.
MIT Licensed