Cars Report
✓ Published0🌍 Public
This example presents a text-based report of used cars, highlighting models priced under $2000. It parses a hard-coded JSON array of car objects using `JSON.parse`, then filters and formats the data with JavaScript’s array methods and a custom `formatCar` function. The resulting list is displayed in an HTML `<pre>` element by setting its `textContent` in React, rendering the final message directly in the browser.
AI-generated descriptionReact Starter code.
MIT Licensed