Skip to main content
100%

Cars Report

✓ Published0🌍 Public
SShashankC22
Last edited Jul 13, 2020
Created on Jul 13, 2020
Forked from Cars Report

This example demonstrates a text-based report of car listings, filtering results to show only vehicles priced under $2,000 and formatting each entry as a year, make, model, and price line. The page initially displays a “Loading...” message, then uses a Promise from `getCars` to simulate a two-second delay before rendering the filtered data. The report is generated with `generateReport` and `formatCar` modules, which use JavaScript array methods (`filter`, `map`, `join`) on data parsed from an embedded JSON string.

AI-generated description

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

MIT Licensed

Similar vizzes