<button type="button" onClick="onClick()">Click me</button> <p id="clicks"> Clicks: 0 </p> Run code snippetHide results