Cars Report
✓ Published1🌍 Public
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 descriptionThis is a description using Markdown.
MIT Licensed