Skip to main content
100%

Cars Report

✓ Published1🌍 Public
Kkavi-kumaran
Last edited Dec 31, 2019
Created on Dec 31, 2019
Forked from HTML Starter

This example displays a text-based report of cars priced under $2,000. It fetches a hardcoded JSON array of car objects via a simulated asynchronous `getCars()` promise, filters them by price, and formats each entry into a string like “2009 Ford F150 : $1950” using `formatCar.js`. The React-free page renders the final multi-line output into a `<pre>` element. The code uses native JavaScript promises, array `filter` and `map`, and DOM `textContent` to update the view.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes