🌍 Public
Viewing a saved revision (read-only)
a7bad2d2cec74b858b260a2186f85eb2
HTML Cars Report
This example shows a simple HTML report of used cars priced under $2000, displaying three vehicles as a list with years, makes, models, and prices. The page initially shows a loading message, then fetches car data asynchronously via a Promise in `getCars` after a 2-second delay. The `generateReport` function filters and formats the data using `formatCar`, and the result is inserted into the DOM via `textContent`. Styling uses a monospace font and a red class highlight.
AI-generated descriptionThis is a description using Markdown.