Skip to main content
100%

Cars Report

✓ Published1🌍 Public
AA1L9E9X9
Last edited Oct 9, 2020
Created on Oct 9, 2020
Forked from Cars Report

This example demonstrates a simple text-based report of used cars, filtering a hardcoded list by price and displaying formatted results in a web page. It shows how JavaScript modules, arrays, and object destructuring work together to parse JSON data and generate a string output. The code uses `fetch`-style asynchronous loading via a custom Promise (`getCars`), array methods `filter` and `map`, and ES module exports/imports. The report is rendered into a `<pre>` element with no external libraries, relying on pure JavaScript and a Rollup-generated bundle.

AI-generated description

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

MIT Licensed

Similar vizzes