JSFiddle - React, Tailwind, and code Playground

by Chris Rebert

HTML

<div style="width: 100px; height: 1000px"></div>
<button type="button" onclick="alert(window.scrollY);">Click me</button>