React Starter
✓ Published0🌍 Public
This example displays the make of the first car in a small dataset as large text on a page. It uses React 16.10 and ReactDOM to render content, though the visible output is achieved by directly setting the textContent of a DOM element. The data comes from a local `cars.js` file containing a JSON array with year, make, model, and price fields. The code parses this JSON and accesses `cars[0].make` to show “Honda”.
AI-generated descriptionReact Starter code.
MIT Licensed