Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Cars Report

Public visualization

Cars Report

0 stars1🌍 Public
AA1L9E9X9
Last edited Oct 9, 2020
Created on Oct 9, 2020
Forked from Cars Report

This example shows a text-based report of cars filtered by price, displaying each car’s year, make, model, and cost. It begins with a loading message, then uses asynchronous data retrieval via a Promise returned by getCars, which parses embedded JSON. The generateReport function filters cars under a specified price and formats each entry using formatCar. The page uses a plain HTML <pre> element and updates its textContent through DOM manipulation.

AI-generated description

An example tutorial of how to use JavaScript objects, arrays, and modules.

Comments

Sign in to join the discussion.

MIT Licensed