Skip to main content
100%

Cars Report

✓ Published0🌍 Public
DDanteStack
Last edited Sep 26, 2019
Created on Sep 25, 2019
Forked from Cars Report

This example shows a simple text-based report of used cars, displaying each vehicle’s year, make, model, and price after a brief loading state. It uses JavaScript promises via `getCars()` to simulate a two-second data fetch, then filters the car list with `filter()` and formats each entry using a `formatCar` module. The final output is written to the DOM by setting `textContent` on an element, demonstrating modular code organization with ES6 `import` and `export`.

AI-generated description

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

MIT Licensed

Similar vizzes