🌍 Public
Viewing a saved revision (read-only)
062f18a943b14c918fc4eeb0d4278c9d
Cars Report
This example displays a simple text report of cars under a specified price threshold. It uses vanilla JavaScript with ES6 modules to filter a hardcoded JSON dataset of five cars, format each entry with the `formatCar` function, and render the output as plain text in an HTML `<pre>` element. The report is generated by `generateReport`, which filters cars and joins formatted strings with newlines. The styling uses an external Ubuntu font and a dark background.
AI-generated descriptionThis is a description using Markdown.