Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Rrazsaid
Last edited Mar 30, 2020
Created on Mar 29, 2020
Forked from HTML Starter

This example displays a text-based report of cars filtered by price. The page renders a list of vehicles, each formatted as a line with the year, make, model, and price, using a large monospace font. The application imports car data from a local `cars.js` file and uses the `generateReport` function to filter the array by a maximum price and map each car through the `formatCar` helper. The resulting string is inserted into the DOM via `document.getElementById()` and `textContent`.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes