🌍 Public
Viewing a saved revision (read-only)
4418bf6ff35b41cf8833141bd4d8d5f6
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.