Fork of Cars Report
✓ Published0🌍 Public
A fork of the Cars Report demonstrates asynchronous data fetching and dynamic DOM updates using vanilla JavaScript modules. It uses the `getCars()` promise to load hard-coded JSON car data after a simulated delay, then `generateReport()` filters cars by a price cap and formats them with `formatCar()`. The resulting text replaces a "Loading..." placeholder in the page’s pre element, combining `fetch`-like patterns with ES module imports/exports.
AI-generated descriptionAn example tutorial of how to use JavaScript objects, arrays, and modules.
MIT Licensed