Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Sslipperyd
Last edited Feb 1, 2020
Created on Jan 26, 2020
Forked from React Starter

A dashboard displays car listings filtered by price, showing only vehicles under $2,000 formatted as “year make model: price” in a large text element. The page initially shows “Loading...” while the `getCars` function returns a hardcoded JSON array of five cars after a simulated two-second delay. The `generatereport` filter and `formatVehicle` map functions process the data using native JavaScript promises and array methods, with the result written to the DOM via `getElementById` and `textContent`.

AI-generated description

An example for how to use objects arrays and modeules.

MIT Licensed

Similar vizzes