Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Yymii
Last edited Jun 3, 2021
Created on Jun 2, 2021
Forked from HTML Starter

This example displays a car report as raw JSON text on a web page. It uses JavaScript to store an array of two car objects—each with year, make, model, and price—and then converts that array to a string with `JSON.stringify`. The resulting text is inserted into an HTML `<pre>` element with the id "cars" via `textContent`. The page's styling is minimal, relying on an inline style attribute for font size, and no external visualization libraries are used.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes