🌍 Public
Viewing a saved revision (read-only)
86fe8de571164f4aaa61f141a4139ed9
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.