Cars Report
✓ Published0🌍 Public
The Cars Report demonstrates a loading state followed by a text-based report of used cars priced under $2,000, generated from a hardcoded JSON array. It uses `getCars()` to return a Promise that resolves after a two-second delay, simulating an asynchronous API, and `generateReport()` to filter, format, and join car entries via `formatCar`. The page renders the output through the DOM API `textContent`, updating a `<pre>` element to display the final list.
AI-generated descriptionAn example tutorial of how to use JavaScript objects, arrays, and modules.
MIT Licensed