🌍 Public
Viewing a saved revision (read-only)
41b4224225234587927e17f05dd932b1
Fork of Cars Report
A fork of the Cars Report demonstrates asynchronous data loading and modular JavaScript. It fetches car data via a Promise from `getCars.js` and formats a text report using `generateReport` and `formatCar`. The page displays the report in a `<pre>` element, starting with "Loading..." before showing results. The code exercises ES modules, `JSON.parse`, and template literals, with the report filtered to cars under a price threshold.
AI-generated descriptionAn example tutorial of how to use JavaScript objects, arrays, and modules.