Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Sstefanobuson
Last edited Jan 8, 2020
Created on Jan 8, 2020
Forked from HTML Starter

This example renders a plain-text car report by filtering a list of vehicles based on a maximum price and displaying each matching car’s year, make, model, and price. It constructs the output using `filter` and `map` in `generateReport.js`, then sets the result as text content of a `<pre>` element via `document.getElementById`. The code uses React as the framework, with the page defined in `index.html` and logic in `index.js`, while `formatCar.js` assembles each line’s string.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes