Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Ccoelidonum
Last edited Mar 23, 2020
Created on Mar 23, 2020
Forked from HTML Starter

This example renders a text-based report of used cars priced under $2,000. It filters an imported JavaScript array of car objects and formats each matching entry with its year, make, model, and price using template literals. The output, joined by newlines, is displayed in a large `<pre>` element via `document.getElementById()`. The data is defined in a separate `cars.js` module and imported using ES module syntax in `index.js`.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes