Cars Report
✓ Published0🌍 Public
This example displays a loading message and then presents a text-based car report listing vehicle years, makes, models, and prices, with the year 2000 highlighted in red. It uses a JavaScript Promise (`getCars`) with a simulated two-second delay to asynchronously fetch hardcoded JSON data, then renders the report via DOM text manipulation (`textContent`). The styling relies on CSS classes (`highlighted`) and a monospace font for a terminal-like aesthetic.
AI-generated descriptionMIT Licensed