Skip to main content
100%

Cars Report

✓ Published0🌍 Public
MMatteo Giacomo prina
Last edited Jun 10, 2020
Created on Jun 10, 2020
Forked from Cars Report

This example demonstrates a simple text-based report of cars filtered by price, displaying each vehicle’s year, make, model, and cost in a large monospace font. It fetches a hardcoded JSON array of five car objects through a simulated asynchronous delay, then filters and formats the data using JavaScript array methods (filter, map, join) and template literals. The code relies on ES6 modules (import/export) and a Promise-based getCars function, with the final report rendered into a <pre> element via DOM manipulation.

AI-generated description

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

MIT Licensed

Similar vizzes