Cars Report
✓ Published0🌍 Public
The Cars Report demonstrates dynamic data formatting by loading a JSON array of car objects, filtering them by price, and rendering a text-based report onto a web page. It shows how JavaScript modules, array methods like `filter` and `map`, and template literals work together to transform raw data into readable output. The code uses the `JSON.parse` API via an embedded JSON string, the DOM `document.getElementById`, and `textContent` to update the page. The report lists each car's year, make, and price in the HTML `<pre>` element, displaying all entries under the specified price threshold.
AI-generated descriptionAn example of how to use javascript objects, arrays and module
MIT Licensed