Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Eeppe
Last edited Apr 5, 2020
Created on Apr 5, 2020
Forked from HTML Starter

This report displays a filtered list of cars whose price is below 2100, formatted as plain text lines. It uses React with a custom `cars` module that parses embedded JSON data, and a `formatCar` function to assemble each car’s year, make, model, and price into a string. The `index.js` file filters the array with `.filter()`, maps entries through `formatCar`, joins the results with newlines, and writes the output to the DOM via `document.getElementById` and `textContent`. The rendering relies on the default HTML page structure and bundled JavaScript.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes