Cars Report
✓ Published0🌍 Public
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.
MIT Licensed