🌍 Public
Viewing a saved revision (read-only)
0f0e44b6945a41f689b152b61df3acf8
Cars Report
This example displays a numeric value from a small set of car records, specifically the price of the first car in the dataset. The React application imports a hardcoded JSON array of five vehicles, filters the list to cars under $2000, and formats each car’s year, make, model, and price into a readable string. The final text is rendered into a `<pre>` element on the page using the DOM API `getElementById` and `textContent`. The visualization is minimal, relying on no external charting libraries, only core JavaScript array methods and React’s data handling.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.