🌍 Public
Viewing a saved revision (read-only)
d13bfa52c7514d4282fa01db75515305
Cars Report
This example displays a car report with a list of filtered vehicles, highlighting a selected entry in red within a green-styled page. It demonstrates ES6 module imports and exports across multiple JavaScript files, using `cars.js` to parse JSON data, `formatCar` to construct string descriptions, and `generateReport` to filter cars by price and join the results. The HTML output is styled with CSS, and the `index.js` file calls `generateReport` to populate the page via `document.getElementById`, though the message element is not present in the provided markup.
AI-generated descriptionAn example showing the capabilities of VizHub.