Skip to main content
100%

HTML Starter

✓ Published1🌍 Public
SShridhar137
Last edited Jan 10, 2020
Created on Jan 10, 2020
Forked from HTML Starter

This example displays a message generated from car data, showing the first car in a JSON array formatted as “year make model price.” It uses `index.js` to import the car data from `cars.js`, filter for cars under $2000, and map them into a readable string, though only the first car is displayed in the HTML page. The page is styled with a large font size via CSS and uses `document.getElementById` to inject the message into a `message-element`. The underlying data is static JSON parsed with `JSON.parse`.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes