Skip to main content
100%

Cars

✓ Published0🌍 Public
GGetTheCatExcited
Last edited Feb 1, 2020
Created on Feb 1, 2020
Forked from HTML Starter

This example displays a text report of cars under a price limit, formatting each as a line with the year, make, model, and price. The React-based code parses an inline JSON array of five car objects, filters them by price, and maps them using a custom `formatCar` function. It generates the report with `generateReport` and writes the result into the page’s DOM using `document.getElementById().textContent`.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes