Skip to main content
100%

Cars Report

✓ Published0🌍 Public
HHamza Elhamdadi
Last edited Jan 21, 2020
Created on Jan 19, 2020
Forked from HTML Starter

This example displays the make of the first car in a hardcoded JSON array, rendered as large text in a pre element. The page loads a dataset of five cars with properties like year, make, model, and price, then uses the native `JSON.parse` to convert the embedded string into a JavaScript object. The code accesses `cars[0].make` and assigns it to the DOM element’s `textContent` property. The visualization relies on standard browser APIs and a simple script tag, with no external libraries.

AI-generated description

A simple javascript enabled page for Car Reports

MIT Licensed

Similar vizzes