Skip to main content
100%

Car Report

✓ Published0🌍 Public
VVittala-Puttur
Last edited Jan 8, 2020
Created on Jan 7, 2020
Forked from React Starter

This example shows a text-based car report generated from a small dataset of five vehicles. It displays cars under a $2,000 price threshold as formatted strings in a large HTML <pre> element. The React starter code uses the native JavaScript `JSON.parse` method to load car data, then applies `filter` and `map` through the `generateReport` function, which formats each entry with the `formatCar` helper. The result is rendered by directly setting the `textContent` of the message element.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes