Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Mmhdpessanha
Last edited Sep 17, 2019
Created on Sep 17, 2019
Forked from Cars Report

This example demonstrates a text-based report of used cars, filtering the data to show only vehicles priced under $2,000. The page initially displays a loading message before the report appears as formatted lines, each listing the year, make, model, and price. The code uses JavaScript promises with `getCars` to simulate a delayed data fetch and modules like `formatCar` and `generateReport` to transform a JSON array. The interface relies on DOM manipulation via `getElementById` and `textContent`.

AI-generated description

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

MIT Licensed

Similar vizzes