🌍 Public
Viewing a saved revision (read-only)
7e596d80e1b2481e97662cfc09dd180f
Untitled
This example displays a single car object, containing a year and make, as plain text on an HTML page. The data is defined as a JSON string in `cars.js` and parsed into a JavaScript object. The `index.js` file imports this object and uses the DOM API `document.getElementById` to set the text content of a `<pre>` element, rendering the data visually. The visualization relies solely on React and standard browser APIs without any additional libraries.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.