Skip to main content
100%

Cars Report

✓ Published0🌍 Public
SSeJunB
Last edited Apr 29, 2020
Created on Apr 29, 2020
Forked from Cars Report

This example demonstrates the Cars Report application, which filters a list of five used cars by price and displays a formatted text report listing each car’s year, make, model, and cost. It loads the car data from an inline JSON array using the `getCars()` function, which returns a Promise with a two-second delay to simulate asynchronous fetching. The code uses JavaScript modules, array methods like `filter` and `map`, template literals, and `Promise` resolution to generate the final output in a `<pre>` element.

AI-generated description

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

MIT Licensed

Similar vizzes