JSFiddle - React, Tailwind, and code Playground

by squidbe

HTML

<html>
    <head>
        <title>System Drag And Drop Example</title>
        <script type="text/javascript">
            function getPos(event) {
              if(console)
                console.log('Y:', event.clientY, '\nX:', event.clientX);
            }
        </script>
    </head>
    <body ondragover="getPos(event)">
        <p>Select me, then drag me.</p>
    </body>
</html>