Skip to main content
100%

CARS REPORT

✓ Published0🌍 Public
WWilliam
Last edited Dec 10, 2020
Created on Dec 9, 2020
Forked from HTML Starter

This example showcases a filtered report of used cars, displaying only those priced under $2,000. The page initially shows a "Loading..." message, then presents formatted car entries after a two-second delay. Using React, the code fetches hardcoded JSON data through a custom asynchronous `getCars` Promise and filters it with `generateReport`. The resulting text, created with the `formatCar` function, is rendered directly into an HTML `<pre>` element via JavaScript DOM manipulation, bypassing typical visualization libraries.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes