Cars
✓ Published0🌍 Public
This example displays a text report of cars under a price limit, formatting each as a line with the year, make, model, and price. The React-based code parses an inline JSON array of five car objects, filters them by price, and maps them using a custom `formatCar` function. It generates the report with `generateReport` and writes the result into the page’s DOM using `document.getElementById().textContent`.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed