Skip to main content
100%

Cars Report

✓ Published0🌍 Public
Jjack1947
Last edited Jul 19, 2020
Created on Jul 19, 2020
Forked from Cars Report

This example demonstrates a minimal web page that displays a static text message, "mmm," derived from a JavaScript module. It shows how to import an array of car objects (containing year, make, model, and price) from a separate `cars.js` file using ES6 `export` and `import` syntax. The code parses JSON data with `JSON.parse` and updates the page’s DOM via `document.getElementById` and the `textContent` property. No visualization library or rendering is used; the output is purely textual within an HTML `<pre>` element.

AI-generated description

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

MIT Licensed

Similar vizzes