HTML Starter
✓ Published0🌍 Public
This example shows a list of cars filtered by price and displayed as formatted text in a webpage. The sample data contains five car objects with year, make, model, and price fields, defined as a JSON string in `cars.js`. The code uses React’s `import` syntax to bring in the data and a `report` function that filters cars under a given price and maps them to strings via `formatCar`. The result is rendered into the DOM using `document.getElementById` and setting `textContent`, replacing the initial "Hello HTML" message in the `index.html` file.
AI-generated descriptionA bare minimum HTML page.
See also React Starter.
MIT Licensed