Skip to main content
100%

Cars Report2

✓ Published1🌍 Public
PPranav Revankar
Last edited Jan 18, 2020
Created on Jan 14, 2020
Forked from Cars Report

This example shows a simple report of cars filtered by price, displaying a list of car details as plain text. The page initially shows a loading message, then uses `getCars` to asynchronously fetch an embedded JSON array of car objects after a two-second delay. The `generateReport` function filters the cars by a maximum price and formats each entry with the `formatCar` module, producing a text output that replaces the loading message. The project relies on JavaScript modules and Promises, with basic styling applied via monospace fonts and a red highlight class.

AI-generated description

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

MIT Licensed

Similar vizzes