Cars Report
✓ Published1🌍 Public
This example shows how to display a formatted car listing as text on a webpage. It presents a single car’s details—year, make, model, and price—in a large, styled message element. The code uses JavaScript modules, importing car data from `cars.js`, which parses a JSON string, and a formatting function from `formatCar.js`. The message is written to the DOM using `document.getElementById` and `textContent`. Styling relies on an external Google Fonts import via CSS.
AI-generated descriptionAn example showing the capabilities of VizHub.
MIT Licensed