Skip to main content
100%

Cars Report

✓ Published0🌍 Public
BBassamAziz310
Last edited Jun 30, 2020
Created on Jun 30, 2020
Forked from Cars Report

This example demonstrates a simple text-based report of used cars, listing each vehicle’s year, make, model, and price after filtering for models under $2,000. It showcases JavaScript object manipulation and async module imports using native ES modules, Promises, `setTimeout`, and `JSON.parse`. The visualization renders a loading state, then the generated report into a `<pre>` element via the Document Object Model (DOM). Data is embedded as a static JSON string in the `getCars.js` module, formatted with string interpolation in `formatCar.js`.

AI-generated description

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

MIT Licensed

Similar vizzes