Skip to main content
100%

HTML Starter

✓ Published0🌍 Public
SSophia Murage
Last edited Mar 16, 2020
Created on Mar 16, 2020
Forked from HTML Starter

This example demonstrates asynchronous JavaScript data loading and report generation. It imports a car dataset from a JSON string parsed with `JSON.parse`, fetches it via a custom `getCars` promise with a two-second delay, and filters cars by price using `generateReport` and `formatCar` modules. The resulting text, listing years, makes, and prices, is displayed in a `<pre>` element styled with CSS. The code uses ES6 modules, array methods like `filter` and `map`, and template literals, with no external libraries.

AI-generated description

Javascript Objects Arrays and Modules.

MIT Licensed

Similar vizzes