🌍 Public
Viewing a saved revision (read-only)
c5b47162b3f146cf9db9bafe82a47063
Cars Report
This example displays a text report of used cars from a hardcoded JSON array, listing each vehicle's year, make, model, and price. The React-based app simulates an asynchronous data fetch with a two-second delay, then filters the list to only show cars priced under $2,000. The visible output is plain text rendered inside an HTML `<pre>` element, with the initial "Loading..." state replaced once the promise resolves. The code demonstrates basic JavaScript promise handling and array filtering without any external visualization libraries.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.