Skip to main content
100%

Cars Report

✓ Published0🌍 Public
CCristian Pintor
Last edited Jan 28, 2020
Created on Jan 28, 2020
Forked from HTML Starter

This example demonstrates a filtered, text-based report of car listings, displaying only those priced under $2,000. The page initially shows a “Loading…” message, then presents the report as a plain-text list rendered in a large `<pre>` element. It uses asynchronous JavaScript with `getCars()`, which returns a `Promise` that resolves after a 2-second delay, and `generateReport()` to filter and format the data. The code relies on standard ES6 module imports, template literals, and array methods like `filter` and `map`.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes