Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Kkyosimba
Last edited Jan 13, 2021
Created on Jan 12, 2021
Forked from HTML Starter

This example presents a simple report of car listings, filtering a hard-coded JSON dataset to show only vehicles priced under $1900. The page initially displays "Hello" and, after a simulated two-second delay via a JavaScript Promise and `setTimeout`, updates the text content of a `<pre>` element with formatted lines like "2009 Ford F150: $1950". The code uses vanilla JavaScript with `Promise`, `Array.filter`, `Array.map`, and `Array.join` to process and render the results, all within a minimal HTML page styled with basic CSS.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes