Skip to main content
100%

Cars Report

✓ Published0🌍 Public
TTheRedUnicorn
Last edited Jul 18, 2019
Created on Jul 18, 2019
Forked from Cars Report

The Cars Report demonstrates a JavaScript data-processing pipeline that fetches car listings and generates a filtered text report. It displays car details as formatted strings, reducing the initial dataset to only vehicles priced under $2,000. The code relies on native JavaScript features including `JSON.parse`, promises with `setTimeout`, array methods like `filter` and `map`, and ES6 destructuring. A `formatCar` module constructs readable output lines, while `generateReport` orchestrates the filtering and formatting, with the result rendered into an HTML `<pre>` element.

AI-generated description

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

MIT Licensed

Similar vizzes