Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
PPaul Chen
Last edited Oct 21, 2020
Created on Oct 21, 2020
Forked from HTML Starter

This example demonstrates a simple data-reporting application. It shows a list of cars filtered by price, with each entry formatted as a line of text containing the car's year, make, model, and price. The page initially displays "Loading ..." while the data is fetched asynchronously using a custom `getCars()` function that returns a Promise, simulating a two-second delay. Once loaded, the `generateReport` function filters the car data and formats it using `formatCar`, and the results are rendered into an HTML `<pre>` element. The visualization uses basic JavaScript, Promises, and DOM manipulation, with no external libraries.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes