Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Aarontha
Last edited Aug 18, 2019
Created on Aug 18, 2019
Forked from Cars Report

This example displays a simple text-based report of used cars, listing each vehicle’s year, make, model, and price in a large preformatted element. It demonstrates basic JavaScript module usage with ES6 `export` and `import` syntax, though the author notes difficulty getting exports to work. The report filters a hardcoded JSON array of five car objects to include only those under a specified price threshold, then formats each entry using a destructuring template literal. The page runs entirely client-side, rendering output by setting `textContent` on a DOM element.

AI-generated description

A beginners attempt at following a JS tutorial.

Could not get the exports to work properly :(.

MIT Licensed

Similar vizzes