Skip to main content
100%

Cars Report

✓ Published0🌍 Public
AAznaggar
Last edited Jan 3, 2020
Created on Jan 3, 2020
Forked from React Starter

This example displays a text-based report of cars priced under $2,000. The report is generated from a hard-coded JSON array of car objects, which is fetched asynchronously via a custom Promise. The `generateReport` function filters the array by price and uses `formatCar` to produce a formatted string for each vehicle. The final report is rendered inside an HTML `<pre>` element, with React Starter code present in the files.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes