Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Rrebeccayc
Last edited Jan 9, 2020
Created on Jan 9, 2020
Forked from Cars Report

This interactive web page demonstrates a JavaScript-based car report generator. It displays a list of vehicles, showing each car's year, make, model, and price after a simulated two-second loading delay. The application uses JavaScript objects and arrays to store car data, then filters and formats the information through modular functions. The core logic employs Promise-based asynchronous loading via `getCars`, with `generateReport` filtering cars below a price threshold and `formatCar` creating the text output. The report appears directly in the HTML `<pre>` element, with the initial interface using object destructuring and template literals.

AI-generated description

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

MIT Licensed

Similar vizzes