Skip to main content
100%

Cars Report

✓ Published0🌍 Public
ZZackaz
Last edited Dec 15, 2020
Created on Dec 15, 2020
Forked from React Starter

This example displays a list of cars filtered by price, showing each vehicle’s year, make, model, and cost as plain text. It fetches demo data from a local JSON array via a simulated asynchronous `getCars` promise, then applies a filtering and formatting pipeline using `generateReport` and `formatCar`. The React-based view updates a DOM element directly with `document.getElementById`, replacing an initial “Loading…” message with the final report.

AI-generated description

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

MIT Licensed

Similar vizzes