Cars Report
✓ Published1🌍 Public
This example displays a text-based report of cars priced under $2,000. It fetches a hardcoded JSON array of car objects via a simulated asynchronous `getCars()` promise, filters them by price, and formats each entry into a string like “2009 Ford F150 : $1950” using `formatCar.js`. The React-free page renders the final multi-line output into a `<pre>` element. The code uses native JavaScript promises, array `filter` and `map`, and DOM `textContent` to update the view.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed