🌍 Public
Viewing a saved revision (read-only)
9e28614bf826451dbca8449560ff13ba
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 descriptionA bare minimum HTML page.
See also React Starter.