Skip to main content
100%

Formal Report

✓ Published0🌍 Public
SShihan2002
Last edited Apr 16, 2023
Created on Apr 16, 2023
Forked from HTML Starter

This example renders a simple text-based formal report of used cars priced under $2000. It displays each qualifying car as a formatted line combining year, make, model, and price. The code uses vanilla JavaScript with the `filter` and `map` array methods, along with a template literal `formatCar` function, to process data from a static JSON array. The resulting report is inserted into the page via `document.getElementById` and `textContent`, with styling applied through inline CSS on a `<pre>` element.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes