🌍 Public
Viewing a saved revision (read-only)
4c62bbc146574df6b6c9cddfb9100cfa
Shapes with SVG
This example shows how to construct basic SVG shapes—circles, rectangles, lines, and a path—positioned in a group with a scale transform. It demonstrates styling shapes with inline attributes, a group-level fill and stroke, and a CSS class that adds stroke properties to lines and the path. The code uses raw SVG elements within an HTML document, with no JavaScript libraries or data binding, relying solely on static markup and a linked stylesheet for visual customization.
AI-generated descriptionAn example tutorial of how to use Javascript objects, arrays, and modules.