🌍 Public
Viewing a saved revision (read-only)
ac9d2f9f549a4f03907a9c55d83845ca
Cars Report self
This example displays a report of cars priced under $2,000, formatted as a list of year, make, model, and price. It uses asynchronous data loading via a custom `getCars` promise that resolves after a 2-second delay, then generates the text output with the `generateReport` function. The result is rendered into the `#message-element` using the DOM's `getElementById` and `textContent` property, with a loading message shown initially.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.