Skip to main content
100%

React Starter

✓ Published0🌍 Public
Jjhofang
Last edited Dec 25, 2019
Created on Dec 25, 2019
Forked from React Starter

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 description

React Starter code.

MIT Licensed

Similar vizzes