Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Jjeffhuang3500
Last edited Dec 23, 2020
Created on Dec 23, 2020
Forked from HTML Starter

This example displays a text-based report of car data, showing the name, miles per gallon, and cylinder count for the first vehicle in the dataset. It parses embedded JSON data using `JSON.parse` and selects a specific record, formatting it with template literals in JavaScript. The page renders the result as plain text inside a `<pre>` element, using `document.getElementById` to update the content dynamically. The visualization is minimal, focusing on data extraction and presentation without graphical charts.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes