Car Report
✓ Published0🌍 Public
This example displays a list of five used cars, showing their year, make, model, and price as plain text on a dark blue background. The page reads a hardcoded JSON array of car objects and formats each entry using a custom `formatCar` function, which composes the year, make, model, and price into a single string. The formatted message is then inserted into a `<pre>` element via `document.getElementById` and assigned to its `textContent` property. The layout relies on basic HTML, CSS with the Ubuntu font, and vanilla JavaScript, with no external visualization libraries.
AI-generated descriptionPauls Test
MIT Licensed