🌍 Public
Viewing a saved revision (read-only)
b3310d67b0434c1ead446e404683402d
Untitled
This example displays a filtered car report, showing only vehicles priced under $2000 as formatted text lines. The React-based visualization uses plain JavaScript to parse a JSON data source embedded in the cars module. It filters the array by price, maps each car object into a readable string with year, make, model, and cost, then joins the results. The final message is rendered into the DOM via `document.getElementById` and set as text content on a pre element.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.