Skip to main content
100%

Cars Report

✓ Published0🌍 Public
BBrunoPaulo10
Last edited Nov 10, 2020
Created on Nov 10, 2020
Forked from HTML Starter

This example displays a single car record from a small embedded dataset, showing the year, make, model, and price in a large text element. The code imports a static JSON array of five cars, filters the list to those priced under $2000, and formats each entry into a readable string, but ultimately renders only the first car’s details on the page. It uses the React framework for structure and relies on a simple JavaScript array manipulation with `filter` and `map` to prepare the data, with the result set into the DOM via `document.getElementById().textContent`.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes