Skip to main content
100%

Cars Report

✓ Published0🌍 Public
YYifei Wang
Last edited Apr 22, 2020
Created on Apr 22, 2020
Forked from Cars Report

This example displays a text-based report of cars priced under $2,000, listing each vehicle’s year, make, model, and price. It begins with a “Loading…” message while fetching data via a simulated asynchronous `getCars()` promise, then uses `generateReport()` to filter and format the JSON car list with `formatCar()`. The report is rendered into a `<pre>` element using plain DOM `textContent` updates, built with React and vanilla JavaScript.

AI-generated description

React Starter code. fdfasf

MIT Licensed

Similar vizzes