Skip to main content
100%

Cars Report

✓ Published1🌍 Public
RRod Potter
Last edited Apr 21, 2019
Created on Apr 21, 2019
Forked from Cars Report

This example generates a text report of used cars priced under $2,000. It filters a static JSON array of five car objects, formats each entry with its year, make, model, and price, and displays the resulting lines in a styled `<pre>` element. The code uses native JavaScript array methods, including `filter` and `map`, along with the `JSON.parse` API to load data and a template literal for string formatting.

AI-generated description

This is a description using Markdown.

MIT Licensed

Similar vizzes