🌍 Public
Viewing a saved revision (read-only)
016df3999bb14809aecc978931b43b3f
Cars Report
This example displays a text-based report of cars priced under $2,000, listing each vehicle’s year, make, model, and price. The page initially shows “loading...” while the data is fetched asynchronously. Using React, the code defines a `getCars` function that simulates a delay before returning a JSON array, and a `genReport` function that filters and formats the entries. The report is rendered into a `<pre>` element via vanilla JavaScript DOM manipulation.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.