Skip to main content
100%

Cars Report

✓ Published0🌍 Public
TTyler Matheny
Last edited Nov 21, 2019
Created on Nov 21, 2019
Forked from Cars Report

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 description

An example tutorial of how to use JavaScript objects, arrays, and modules.

MIT Licensed

Similar vizzes