SVG fundamentals
✓ Published0🌍 Public
This example demonstrates fundamental SVG shapes, using two circles to show how the `fill` property controls color. The first circle uses the default black fill, while the second explicitly sets `fill="red"`. The code creates a static SVG graphic directly in an HTML page, relying on the native SVG API within the markup. It serves as a minimal introduction to vector graphics structure, using only the `<circle>` element and its `cx`, `cy`, and `r` attributes, with no additional libraries or interaction.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed