Skip to main content
100%

HTML Starter

✓ Published1🌍 Public
Bbsalva1969
Last edited Dec 22, 2020
Created on Dec 7, 2020
Forked from HTML Starter

This example demonstrates a minimal React-free HTML page that reads an embedded JSON dataset of cars, filters it by a price threshold, and displays formatted text in the browser. The code uses JavaScript’s `JSON.parse`, array `filter()`, and `map()` methods, along with the `document.getElementById().textContent` API to update the DOM. A CSS style sets the page’s font size and alignment. The data source is a hardcoded JSON string in `cars.js`, processed through custom functions `formatCar` and `generaInforme`.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes