🌍 Public
Viewing a saved revision (read-only)
16bf9815632649849a094bae9350d3a7
Fork of Fork of HTML Starter
This example displays 50 randomly positioned and sized blue circles inside a 400x400 SVG canvas. The circles turn red on hover, and clicking anywhere on the page clears the canvas and generates a fresh set of random circles. The application uses direct SVG element manipulation with the JavaScript Document API, creating and removing circle elements via `createElementNS` and `appendChild`. Styling and hover transitions are handled through CSS.
AI-generated descriptionCircle Demo
This simple web application displays an SVG circle in the center of the page.
- The circle is blue (#3498db) by default
- When you hover over the circle, it turns red (#e74c3c)
- The circle is centered in a 400x400 SVG container