🌍 Public
Viewing a saved revision (read-only)
593e3d1a6d1f4f5f9fdf0c7046122246
Cars Report
This example displays a text-based report of cars priced under $2,000, formatted as “year make model: $price” lines. It uses React with a custom cars dataset defined in `cars.js`, and applies JavaScript array methods `filter()` and `map()` in `generateReport.js` to select and transform the data. The formatted report is inserted into the DOM via `document.getElementById` in `index.js`.
AI-generated descriptionReact Starter code.