<html>
<body>
<h1>Mouse Events</h1>
<h2>The detail Property</h2>
<p>Click the button to display the number of clicks that happened in a short time.</p>
<button onclick="myFunction(event)">Click count:</button>
<p id="demo"></p>
<script>
function myFunction(event) {
let num = event.detail;
document.getElementById("demo").innerHTML = num;
}
</script>
</body>
</html>