🌍 Public
Viewing a saved revision (read-only)
963dca184e07402d9a1d75b1c8e925ad
Car Report
This example displays a text-only car report, listing filtered vehicle entries with their year, make, model, and price. The code parses an inline JSON array of car objects, filters for those under $2,000, and formats each result as a string using template literals. The final message is inserted into a pre element via `document.getElementById().textContent`. No external visualization libraries are used; it relies solely on native JavaScript JSON parsing, array methods, and DOM manipulation.
AI-generated description