🌍 Public
Viewing a saved revision (read-only)
5be43b1750fc49ee8c329cf031722e50
Shapes with SVG and CSS
This example illustrates a car pricing report asynchronously loaded via a JavaScript Promise. The `getCars` module parses a static JSON array and resolves it after a two-second delay. `index.js` then filters this data by a maximum price using `generateReport`, formats each car with the `formatCar` template, and injects the resulting text into the DOM. The page also contains an SVG circle rendered solely with HTML and CSS, while the report text updates dynamically without any visualization library.
AI-generated descriptionAn example tutorial of how to use JavaScript objects, arrays, and modules.