Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Ppgraybeal
Last edited Sep 10, 2020
Created on Sep 10, 2020
Forked from React Starter

This example displays the make of the first car in a static dataset, rendering the text “Honda” prominently in the browser. It imports a hardcoded array of five car objects from `cars.js`, which is defined as a JSON string and parsed with `JSON.parse`. The `index.js` file accesses `cars[0].make` and writes it into a `<pre>` element using the DOM API `document.getElementById().textContent`. The page styling applies a large font size via inline CSS in `index.html`, with React as the declared framework, though no React components are actively used in this simple data readout.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes