🌍 Public
Viewing a saved revision (read-only)
fe0fd793cd67476cb9b730c986805ca3
Cars Report - Part 3
This example displays a single formatted car listing on a web page, drawing from an embedded JavaScript array of car objects that includes make, model, year, and price. It filters the data to select cars priced under $2,000, but then only renders the first car from the original array as text. The page uses React and a simple HTML preformatted text element, with the message composed via JavaScript string interpolation. The data source is hardcoded in a `cars.js` file, and the output is presented in a large monospaced font.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.