Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Ccyro666
Last edited Mar 16, 2020
Created on Mar 16, 2020
Forked from HTML Starter

This example shows a simple text-based report of cars filtered by price. It loads a hardcoded JSON dataset of five cars, simulates a network request with a two-second delay, and displays a message element showing “Loading…” until data arrives. The `generateReport` function filters cars below a maximum price and formats each entry using the custom `formatCar` function, which returns a string with year, make, model, and price. The output is rendered into an HTML `<pre>` element.

AI-generated description

An example of how to use JS stuff.

MIT Licensed

Similar vizzes