Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Formal Report

Public visualization

Viewing a saved revision (read-only)

ecdfe7587e9e4b089dc20af5bc8c1e69

Formal Report

0 stars0🌍 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.