Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

HTML Starter

Public visualization

HTML Starter

0 stars0๐ŸŒ 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.

Comments

Sign in to join the discussion.

MIT Licensed