Skip to main content
100%

Cars report

✓ Published0🌍 Public
Nnsadath
Last edited Dec 7, 2020
Created on Dec 7, 2020
Forked from Cars report

This example displays a report of car entries, filtering the data to show only vehicles priced under $1000 and formatting each as a line of text. The code uses React for the project structure, with `index.js` importing car data from `cars.js` and applying a filter and `map` to generate the report. The result is rendered into the DOM by setting the `textContent` of a `message-element` div, while the page styling is defined in `index.html`. The data is a static JSON array embedded in the source.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes