🌍 Public
Viewing a saved revision (read-only)
f4ef104774074fca800c56beb6f64c47
Cars Report
This example displays a list of cars filtered by price. After a brief loading message, the page shows each car’s year, make, model, and price—for example, “2009 Ford F150: $1950”—for all vehicles under $2000. The application uses `getCars()`, a Promise that resolves with hardcoded JSON data after a two-second delay, then applies `generateReport()` to filter and format the entries via `formatCar()`. The result is placed into the text content of a `<pre>` element, updating the initial “Hello” placeholder.
AI-generated description