Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Export

Public visualization

Cars Export

0 stars0🌍 Public
GGanapathy Subramanian Lakshminarayanan
Last edited Jan 23, 2021
Created on Jan 23, 2021
Forked from HTML Starter

This example displays a filtered inventory of cars priced under $2000, rendering each as a formatted text line. It uses React and imported modules `cars` and `formatCar` from separate files. The `index.js` filters the car data, maps each entry through `formatCar` to generate strings like `"2009 Ford F150: $1950"`, joins them with newlines, and writes the result to a DOM element via `document.getElementById`. The page layout is simple HTML with a large `<pre>` tag.

AI-generated description

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

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed