🌍 Public
Viewing a saved revision (read-only)
d2a5abf10b0845bcb5cf3916c53068b0
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.