HTML Cars Report
✓ Published1🌍 Public
This example presents a list of used cars, showing the year, make, model, and price, with entries priced under $2,000 highlighted in red. The page initially displays a static, hardcoded list of three vehicles, while a JavaScript promise, created with `new Promise` and a `setTimeout`, simulates a two-second data fetch. After the delay, the code parses the embedded `carsJSON`, filters it by price, formats each entry into a string, and writes the result to a `<pre>` element. The project uses React's starter `bundle.js` and a plain CSS stylesheet for styling.
AI-generated descriptionReact Starter code.
MIT Licensed