🌍 Public
Viewing a saved revision (read-only)
18cbe69de817447d8c7f2d0327c63dc5
mouse tracker
A blank SVG canvas logs mouse coordinates to the console as the pointer moves. The React `onMouseMove` handler captures `clientX` and `clientY` from the event, demonstrating a minimal event-driven interaction. The SVG element is rendered by ReactDOM into a full-screen viewport with hidden scrollbars. No visual elements are drawn; the example focuses solely on tracking pointer position through the browser’s event system.
AI-generated descriptionSmiley face implementation with React.