Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars0🌍 Public
Mmatthewfresh
Last edited Mar 16, 2020
Created on Mar 16, 2020
Forked from HTML Starter

This example displays a simple text report of cars filtered by price, listing each vehicle’s year, make, model, and cost after a simulated two-second delay. It demonstrates JavaScript object destructuring, array filtering and mapping, and modular code organization using ES6 exports and imports. The interface uses a plain HTML `<pre>` element to render the output, while the asynchronous data flow relies on a Promise-based `getCars` function that parses hardcoded JSON. The report generation uses `Array.prototype.filter`, `map`, and `join` to produce the final formatted string.

AI-generated description

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

Comments

Sign in to join the discussion.

MIT Licensed