Skip to main content
100%

Cars Report

✓ Published0🌍 Public
EEdwin Cini
Last edited Mar 7, 2021
Created on Mar 7, 2021
Forked from HTML Starter

This example demonstrates a text-based report of used cars, filtering entries under $2,000 and formatting each line with year, make, model, and price. The page initially shows “loading...” and then displays the car list after a simulated async delay. Code uses JavaScript modules with `import`/`export`, a `Promise` with `setTimeout` in `getCars`, and array methods like `filter`, `map`, and `join` to generate the output. Data comes from an embedded JSON string parsed with `JSON.parse`.

AI-generated description

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

MIT Licensed

Similar vizzes