Skip to main content
100%

Car Report

✓ Published0🌍 Public
Llonandy
Last edited Oct 29, 2019
Created on Oct 29, 2019
Forked from Car Report

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 description

Pauls Test

MIT Licensed

Similar vizzes