Skip to main content
100%

Cars report

✓ Published0🌍 Public
Nnsadath
Last edited Dec 7, 2020
Created on Dec 7, 2020
Forked from Cars report

This example displays the word “Honda” in enormous type, extracted from the first entry of a four-record JSON array of car data. The code stores the car data as a template literal in `cars.js`, parses it with `JSON.parse`, and exports it as a module. React `index.js` imports the array, accesses the `make` property of the first car, and sets it as the text content of a `div` element in the HTML. The page uses plain CSS for centering and a large font size, with no visualization library involved.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes