Shapes with SVG and CSS
✓ Published0🌍 Public
This example shows a minimal HTML page that renders basic SVG shapes—two circles and a rectangle—styled and positioned through inline SVG attributes. The page loads a single SVG element with a fixed width and height, using raw SVG markup without any external libraries. It also includes a small inline script that logs a message to the browser’s developer console, demonstrating a simple integration of CSS and JavaScript within an HTML document. The rendering relies entirely on native SVG support in the browser, with the `console.log` call as the only JavaScript interaction.
AI-generated descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed