Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Mmgermaine93
Last edited Aug 28, 2020
Created on Aug 28, 2020
Forked from React Starter

This example displays a simple text-based report of used cars priced under $2,000. It filters a static JSON array of car objects and formats each matching entry into a single line showing year, make, model, and price. The code uses React for rendering, while `Array.filter`, `Array.map`, and `Array.join` build the output. The result appears in a `<pre>` element with large font size, updated via the DOM API `document.getElementById().textContent`.

AI-generated description

React Starter code.

MIT Licensed

Similar vizzes