Skip to main content
100%

HTML Cars Report

✓ Published0🌍 Public
MMithun Ghosh
Last edited Nov 24, 2020
Created on Nov 24, 2020
Forked from HTML Cars Report

This example shows a JavaScript-driven car report that filters a hardcoded JSON dataset of five vehicles by price and displays the results as formatted text. It demonstrates modular code organization with `formatCar.js` and `generateReport.js` using ES6 module exports and imports, while `getCars.js` simulates asynchronous data fetching via a `Promise` with a two-second delay. The page also embeds an SVG scene with circles, rectangles, and a line, styled inline via HTML and CSS, though the report text itself is not visually rendered.

AI-generated description

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

MIT Licensed

Similar vizzes